-
Notifications
You must be signed in to change notification settings - Fork 5
Rectangle
Rectangle X, Y, Width, Height, CornerRadiusX, CornerRadiusY
Rectangle X, Y, Width, Height; Corner1, Corner2, Corner3, Corner4
4 corners have same Corner1 radius:
Rectangle X, Y, Width, Height; Corner1
Top left and Right bottom corners have Corner1 radius, Top Right and Bottom Left corners have Corner2 radius:
Rectangle X, Y, Width, Height; Corner1, Corner2
Top Left has Corner1 radius, Top Right and Bottom Left have Corner2 radius, Bottom Right has Corner3 radius:
Rectangle X, Y, Width, Height; Corner1, Corner2, Corner3
(bold = required)
Examples:
Image = Rectangle 300,400,-200,200 | Color hsl(300,30,50)
Image2 = Rectangle 10,10,600,200,20 | StrokeWidth 5 | StrokeColor FF5050
Image3 = Rectangle 10,420,600,200; 20,60,40,50
Default: 1
Parameter:
AntiAlias IsAntiAlias
Set IsAntiAlias
to 0 to turn off border smoothing.
Parameter:
Canvas Width, Height
Define shape region. Any pixel exceeds this region is cutoff.
Image = Rectangle 10,10,600,200 | Canvas 80,80
Default: 255,255,255
Parameter:
Color ColorValue
Fill shape color. Check out Color formats.
Default: 0,0
Parameter:
Offset X, Y
Change origin coordinate.
Default: 0
Parameter:
Rotate Degree
Rotate coordinate.
Default: Center
Parameter:
StrokeAlign AlignType
Change Stroke alignment. Valid AlignType values:
Center
Outside
Inside
Default: 0,0,0,0
Parameter:
StrokeColor ColorValue
Define stroke color. Check out Color formats.
Default: 0
Parameter:
StrokeWidth Width
Define stroke width.