Class Shape
- Namespace
- Forma
- Assembly
- Forma.dll
public abstract class Shape : Control, IAddChild<Control>, IAddChild, INotifyPropertyChanged
- Inheritance
-
Shape
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
Properties
public Brush Fill { get; set; }
Property Value
- Brush
public FillRule FillRule { get; set; }
Property Value
- FillRule
public HorizontalAlignment GeometryHorizontalAlignment { get; set; }
Property Value
- HorizontalAlignment
public Transform GeometryTransform { get; set; }
Property Value
- Transform
public VerticalAlignment GeometryVerticalAlignment { get; set; }
Property Value
- VerticalAlignment
protected virtual bool HasIntrinsicGeometryBounds { get; }
Property Value
- bool
public ShapeStretch Stretch { get; set; }
Property Value
- ShapeStretch
public Brush Stroke { get; set; }
Property Value
- Brush
public StrokeAlignment StrokeAlignment { get; set; }
Property Value
- StrokeAlignment
public IReadOnlyList<float> StrokeDashArray { get; set; }
Property Value
- IReadOnlyList<float>
public float StrokeDashOffset { get; set; }
Property Value
- float
public StrokeLineCap StrokeEndLineCap { get; set; }
Property Value
- StrokeLineCap
public StrokeLineJoin StrokeLineJoin { get; set; }
Property Value
- StrokeLineJoin
public float StrokeMiterLimit { get; set; }
Property Value
- float
public StrokeLineCap StrokeStartLineCap { get; set; }
Property Value
- StrokeLineCap
public StrokeStyle StrokeStyle { get; set; }
Property Value
- StrokeStyle
public float StrokeThickness { get; set; }
Property Value
- float
Methods
public override sealed void AddChild(Control child)
Parameters
child Control
public override bool ContainsPoint(Point point)
Parameters
point Point
Returns
- bool
protected abstract DrawingPath CreatePath()
Returns
- DrawingPath
public override Vector2 GetMinimumSize()
Returns
- Vector2