Constructor ShapePathCommand
ShapePathCommand(ShapePathVerb, params ShapePoint[])
Initializes a command whose points are all literal coordinates.
public ShapePathCommand(ShapePathVerb verb, params ShapePoint[] points)
Parameters
verbShapePathVerbThe drawing verb.
pointsShapePoint[]The points the verb consumes.
ShapePathCommand(ShapePathVerb, ShapePoint[], string?[])
Initializes a command whose points may be written as guide expressions.
public ShapePathCommand(ShapePathVerb verb, ShapePoint[] points, string?[] pointExpressions)
Parameters
verbShapePathVerbThe drawing verb.
pointsShapePoint[]The points the verb consumes, holding literals where known.
pointExpressionsstring[]The unevaluated coordinate tokens, two per point — the x of point
iat index2iand its y at2i + 1. A null entry means the matching coordinate inpointsis already the literal value.