Skip to main content

Class Crosshair

Represents a circle in the user interface.

Assembly: MicroLayout.dll
View Source
Declaration
public class Crosshair : ThemedControl, IThemedControl, IControl

Inheritance: System.Object -> Meadow.Foundation.Graphics.MicroLayout.Control

Implements:
Meadow.Foundation.Graphics.MicroLayout.IThemedControl

Properties

ForeColor

Gets or sets the foreground color of the Crosshair.

View Source
Declaration
public Color ForeColor { get; set; }

Methods

ApplyTheme(DisplayTheme)

Applies the specified display theme to the control.

View Source
Declaration
public override void ApplyTheme(DisplayTheme theme)
Parameters
TypeNameDescription
Meadow.Foundation.Graphics.MicroLayout.DisplayThemethemeThe display theme to apply.

OnDraw(MicroGraphics)

Performs the actual drawing of the control on the specified Meadow.Foundation.Graphics.MicroGraphics surface. This method must be implemented in derived classes.

View Source
Declaration
protected override void OnDraw(MicroGraphics graphics)
Parameters
TypeNameDescription
Meadow.Foundation.Graphics.MicroGraphics surface to draw the control on.

Implements