Skip to main content

ShapeType Enum

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

Shape tool types available in the shapes flyout.

public enum ShapeType

Inheritance: Enum -> ShapeType

Fields

NameDescription
ArrowArrow (line with arrowhead).
CircleEllipse / circle.
LineStraight line.
NoneNo shape selected.
PolygonRegular polygon (3–15 sides).
RectangleRectangle / square.
StarStar (3–14 spikes).
TextText 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