weasel API - v0.8.0
Preparing search index...
renderLabel
Function renderLabel
renderLabel
(
ctx
:
CanvasRenderingContext2D
,
text
:
string
,
x
:
number
,
y
:
number
,
options
?:
LabelOptions
,
)
:
void
Render a text label with a 75%-opaque black pill background and white text.
Parameters
ctx
:
CanvasRenderingContext2D
text
:
string
x
:
number
y
:
number
options
:
LabelOptions
= {}
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
weasel API - v0.8.0
Loading...
Render a text label with a 75%-opaque black pill background and white text.