Draws an SVG curve.
Draws an SVG curve path.
-OutputPath .\Curves.svg @(
=<svg.CurvePath> -Start 10 -ControlPoint 15,5,20,40 -End 30,30 -fill transparent -stroke black
) -viewbox 50, 50
One or two control points. If two control points are provided, it will be assumed to be a Bezier curve. If only one control point is provided, it will be assumed to be a Quadratic curve.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Double[]] |
false | named | true (ByPropertyName) |
The start point of the curve. If only one value is provided, it will be used as the X and Y coordinate.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Double[]] |
false | named | true (ByPropertyName) |
The end point of the curve. If only one value is provided, it will be used as the X and Y coordinate.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Double[]] |
false | named | true (ByPropertyName) |
If set, will attempt to draw a smooth bezier curve.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
If set, will draw a multi-quadratic line. This can only be used if preceeded by another curve.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
If set, will draw a quadratic bezier curve. This is the default, as it only requires a single control point.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
If set, will close the path after this element.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
SVG.CurvePath [-ControlPoint <Double[]>] [-Start <Double[]>] [-End <Double[]>] [-Smooth] [-MultiQuadratic] [-Quadratic] [-Close] [<CommonParameters>]