ShapeType Enum
Definition
Shape tool types available in the shapes flyout.
public enum ShapeType
Fields
| Name | Description |
|---|---|
| Arrow | Arrow (line with arrowhead). |
| Circle | Ellipse / circle. |
| Line | Straight line. |
| None | No shape selected. |
| Polygon | Regular polygon (3–15 sides). |
| Rectangle | Rectangle / square. |
| Star | Star (3–14 spikes). |
| Text | Text box annotation. |
Arrow Field
Arrow (line with arrowhead).
public Avalonia.Controls.ShapeType Arrow
Circle Field
Ellipse / circle.
public Avalonia.Controls.ShapeType Circle
Line Field
Straight line.
public Avalonia.Controls.ShapeType Line
None Field
No shape selected.
public Avalonia.Controls.ShapeType None
Polygon Field
Regular polygon (3–15 sides).
public Avalonia.Controls.ShapeType Polygon
Rectangle Field
Rectangle / square.
public Avalonia.Controls.ShapeType Rectangle
Star Field
Star (3–14 spikes).
public Avalonia.Controls.ShapeType Star
Text Field
Text box annotation.
public Avalonia.Controls.ShapeType Text