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