Class ShapePathCommand
One command of a shape outline: a verb plus the points it consumes (0 for close, 1 for move/line, 2 for quadratic, 3 for cubic).
public sealed class ShapePathCommand
- Inheritance
-
ShapePathCommand
- Inherited Members
Constructors
- ShapePathCommand(ShapePathVerb, params ShapePoint[])
Initializes a command whose points are all literal coordinates.
- ShapePathCommand(ShapePathVerb, ShapePoint[], string?[])
Initializes a command whose points may be written as guide expressions.
Properties
- ArcHeightRadius
Gets or sets the arc y radius token for ArcTo (a:arcTo hR).
- ArcStartAngle
Gets or sets the arc start angle token in 60000ths of a degree (a:arcTo stAng).
- ArcSwingAngle
Gets or sets the arc swing angle token in 60000ths of a degree (a:arcTo swAng).
- ArcWidthRadius
Gets or sets the arc x radius token for ArcTo (a:arcTo wR).
- PointExpressions
Gets the unevaluated coordinate tokens, two per point (x then y). Empty when every coordinate is a literal, which is the case for all hand-authored freeform geometry. A null entry defers to the literal in Points.
- Points
Gets the points the verb consumes.
- Verb
Gets the drawing verb.