Class Circle
Represents a circle in the user interface.
Assembly: MicroLayout.dll
View Source
Declaration
public class Circle : ThemedControl, IThemedControl, IControl
Inheritance: System.Object
-> Meadow.Foundation.Graphics.MicroLayout.Control
Implements:
Meadow.Foundation.Graphics.MicroLayout.IThemedControl
Properties
IsFilled
Gets or sets a value indicating whether the Circle is filled with the foreground color.
View Source
Declaration
public bool IsFilled { get; set; }
ForeColor
Gets or sets the foreground color of the Circle.
View Source
Declaration
public Color ForeColor { get; set; }
Center
Gets or sets the foreground color of the Circle.
View Source
Declaration
public Point Center { get; set; }
Left
Gets or sets the left coordinate of the control.
View Source
Declaration
public override int Left { get; set; }
Top
Gets or sets the top coordinate of the control.
View Source
Declaration
public override int Top { get; set; }
Radius
Gets or sets the foreground color of the Circle.
View Source
Declaration
public int Radius { get; set; }
Methods
ApplyTheme(DisplayTheme)
Applies the specified display theme to the Circle.
View Source
Declaration
public override void ApplyTheme(DisplayTheme theme)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.MicroLayout.DisplayTheme | theme | The display theme to apply. |
OnDraw(MicroGraphics)
Draws the Circle on the specified Meadow.Foundation.Graphics.MicroGraphics surface.
View Source
Declaration
protected override void OnDraw(MicroGraphics graphics)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.MicroGraphics surface to draw the Circle on. |