Preparing search index...
The search index is not available
vimath
vimath
HtmlCanvas
Class HtmlCanvas
Implements
Canvas
Index
Constructors
constructor
Methods
clear
connected
Path
height
on
Click
on
Mouse
Move
on
Resize
render
Shape
text
width
Constructors
constructor
new
Html
Canvas
(
canvas
?
)
:
HtmlCanvas
Parameters
Optional
canvas
:
string
|
HTMLCanvasElement
Returns
HtmlCanvas
Methods
clear
clear
(
)
:
void
Returns
void
connected
Path
connected
Path
(
shape
)
:
void
Parameters
shape
:
PointShape
Returns
void
height
height
(
)
:
number
Returns
number
on
Click
on
Click
(
cb
)
:
void
Parameters
cb
:
(
(
state
)
=>
void
)
(
state
)
:
void
Parameters
state
:
MouseState
Returns
void
Returns
void
on
Mouse
Move
on
Mouse
Move
(
cb
)
:
void
Parameters
cb
:
(
(
state
)
=>
void
)
(
state
)
:
void
Parameters
state
:
MouseState
Returns
void
Returns
void
on
Resize
on
Resize
(
cb
)
:
void
Parameters
cb
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
render
Shape
render
Shape
(
shape
)
:
Promise
<
void
>
Parameters
shape
:
Shape
Returns
Promise
<
void
>
text
text
(
text
)
:
Promise
<
void
>
Parameters
text
:
Text
Returns
Promise
<
void
>
width
width
(
)
:
number
Returns
number
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
clear
connected
Path
height
on
Click
on
Mouse
Move
on
Resize
render
Shape
text
width
vimath
Loading...