Skip to main content

Shape Class

NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Shapes

Base class for elements that draw a shape.

public abstract class Shape : UIElement

Properties

Fill

public Media.Brush Fill { get; set; }

The brush used to fill the shape.

Stroke

public Media.Pen Stroke { get; set; }

The pen used to draw the outline of the shape.