Class Shape

Namespace
Forma
Assembly
Forma.dll
public abstract class Shape : Control, IAddChild<Control>, IAddChild, INotifyPropertyChanged
Inheritance
Shape
Implements
Derived
Inherited Members

Constructors

Shape()

protected Shape()

Properties

Fill

public Brush Fill { get; set; }

Property Value

Brush

FillRule

public FillRule FillRule { get; set; }

Property Value

FillRule

GeometryHorizontalAlignment

public HorizontalAlignment GeometryHorizontalAlignment { get; set; }

Property Value

HorizontalAlignment

GeometryTransform

public Transform GeometryTransform { get; set; }

Property Value

Transform

GeometryVerticalAlignment

public VerticalAlignment GeometryVerticalAlignment { get; set; }

Property Value

VerticalAlignment

HasIntrinsicGeometryBounds

protected virtual bool HasIntrinsicGeometryBounds { get; }

Property Value

bool

Stretch

public ShapeStretch Stretch { get; set; }

Property Value

ShapeStretch

Stroke

public Brush Stroke { get; set; }

Property Value

Brush

StrokeAlignment

public StrokeAlignment StrokeAlignment { get; set; }

Property Value

StrokeAlignment

StrokeDashArray

public IReadOnlyList<float> StrokeDashArray { get; set; }

Property Value

IReadOnlyList<float>

StrokeDashOffset

public float StrokeDashOffset { get; set; }

Property Value

float

StrokeEndLineCap

public StrokeLineCap StrokeEndLineCap { get; set; }

Property Value

StrokeLineCap

StrokeLineJoin

public StrokeLineJoin StrokeLineJoin { get; set; }

Property Value

StrokeLineJoin

StrokeMiterLimit

public float StrokeMiterLimit { get; set; }

Property Value

float

StrokeStartLineCap

public StrokeLineCap StrokeStartLineCap { get; set; }

Property Value

StrokeLineCap

StrokeStyle

public StrokeStyle StrokeStyle { get; set; }

Property Value

StrokeStyle

StrokeThickness

public float StrokeThickness { get; set; }

Property Value

float

Methods

AddChild(Control)

public override sealed void AddChild(Control child)

Parameters

child Control

ContainsPoint(Point)

public override bool ContainsPoint(Point point)

Parameters

point Point

Returns

bool

CreatePath()

protected abstract DrawingPath CreatePath()

Returns

DrawingPath

GetMinimumSize()

public override Vector2 GetMinimumSize()

Returns

Vector2