interface
RectStroke
Properties to be provided with strokeRect.
Properties
- color
Stroke color.
- Type:
-
string
- crispenoptional
- Type:
-
boolean
- dashoptional
Dash pattern of the stroke.
- Type:
-
number[]
- height
The rectangle’s height.
- Type:
-
number
- lineJoinoptional
- Type:
-
CanvasLineJoin
- lineWidthoptional
Stroke thickness.
- Type:
-
number
- rxoptional
Corner radius on the x-axis.
- Type:
-
number
- ryoptional
Corner radius on the y-axis.
- Type:
-
number
- width
The rectangle’s width.
- Type:
-
number
- x
X-axis coordinate of the rectangle’s starting point.
- Type:
-
number
- y
Y-axis coordinate of the rectangle’s starting point.
- Type:
-
number