CanvasRectangle.this

Create a rectangle from four coordinates. Use colors from the preset color list or a web style hex color.

class CanvasRectangle
this
(
double[] coords
,,,
int outlineWidth = 1
)

Parameters

coords double[]

The coordinates where to draw the rectangle.

fillColor string

The fill color.

outlineColor string

The outline color.

outlineWidth int

The outline width.

See Also

Meta