ixfx
Preparing search index...
Visual
Drawing
rect
Function rect
rect
(
ctx
:
CanvasRenderingContext2D
,
toDraw
:
|
Geometry
.
Rect
|
Geometry
.
RectPositioned
|
Geometry
.
RectPositioned
[]
|
Geometry
.
Rect
[]
,
opts
?:
RectOpts
,
)
:
void
Draws one or more rectangles.
Parameters
ctx
:
CanvasRenderingContext2D
toDraw
:
|
Geometry
.
Rect
|
Geometry
.
RectPositioned
|
Geometry
.
RectPositioned
[]
|
Geometry
.
Rect
[]
opts
:
RectOpts
= {}
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
Draws one or more rectangles.