Draws an SVG Line Path.
Draws a line in SVG Path Syntax.
-Viewbox 100, 100 (
=<svg.LinePath> -Start 50 -End 75 -Stroke black
) -OutputPath .\Line1.svg
-Viewbox 60, 60 (
=<svg.LinePath> -Start 10 -Horizontal -End 50 -Stroke black -Fill transparent |
=<svg.LinePath> -Vertical -End 50 |
=<svg.LinePath> -Horizontal -End 10 |
=<svg.LinePath> -Vertical -End 10 -Close
) -OutputPath .\LineBox.svg
The Starting point of the arc.
If only one value is provided, it will be used as the X and Y coordinate.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Double[]] |
false | 1 | true (ByPropertyName) |
If set, will draw a horizontal line.
Only the first -End point will be evaluated.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
If set, will draw a vertical line.
-LineLength must also be provided.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
If set, will close the path.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | true (ByPropertyName) |
The end point of the line, or it’s length
If this is provided, a line will be drawn to this point
Type | Required | Position | PipelineInput |
---|---|---|---|
[Double[]] |
false | 2 | true (ByPropertyName) |
SVG.LinePath [[-Start] <Double[]>] [-Horizontal] [-Vertical] [-Close] [[-End] <Double[]>] [<CommonParameters>]