interface RectStroke

Properties to be provided with strokeRect.

Properties
color, crispen, dash, height, lineJoin, lineWidth, rx, ry, width, x, y

Properties

color

Stroke color.

Type:
string
crispen
optional
Type:
boolean
dash
optional

Dash pattern of the stroke.

Type:
number[]
height

The rectangle’s height.

Type:
number
lineJoin
optional
Type:
CanvasLineJoin
lineWidth
optional

Stroke thickness.

Type:
number
rx
optional

Corner radius on the x-axis.

Type:
number
ry
optional

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