Generates a Kite in SVG
Generates a Kite in SVG.
A Kite is generated with a -Radius and an -InnerRadius and an -OuterRadius.
SVG -ViewBox 2,2 (
SVG.Kite -Fill "#4488ff"
) -OutputPath .\Kite.svg
SVG -ViewBox 200,200 (
SVG.Kite -Fill "#4488ff" -CenterX 100 -CenterY 100 -Radius 33 -InnerRadius 25 -OuterRadius 66
) -OutputPath .\Ready-To-Fly-Kite.svg
SVG -ViewBox 2,2 (
SVG.Kite -Fill "#4488ff" @(
SVG.animate -AttributeName d -Values (
@(
SVG.Kite -Rotate 0
SVG.Kite -Rotate 90
SVG.Kite -Rotate 180
SVG.Kite -Rotate 270
).D -join ';'
) -AttributeType XML -Dur 2s -RepeatCount indefinite -CalcMode linear
)
) -OutputPath .\Kite-Morph.svg
The initial rotation of the rhombus.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | named | true (ByPropertyName) | Rotation |
The center X coordinate for the kite.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | named | true (ByPropertyName) | CX |
The center Y coordinate for the kite.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | named | true (ByPropertyName) | CY |
The radius of the kite.
This is the distance to either constant side of the kite.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | named | true (ByPropertyName) | R |
The inner radius of the kite.
This is the distance from the center of the kite to the top.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | named | true (ByPropertyName) | IR InRadius |
The outer radius of the kite.
This is the distance from the center of the kite to the bottom.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Double] |
false | named | true (ByPropertyName) | OR OutRadius |
SVG.Kite [-Rotate <Double>] [-CenterX <Double>] [-CenterY <Double>] [-Radius <Double>] [-InnerRadius <Double>] [-OuterRadius <Double>] [<CommonParameters>]