Preparing search index...
The search index is not available
ixfx
ixfx
Visual
Drawing
textBlock
Function textBlock
Draws a block of text. Each array item is considered a line.
text
Block
(
ctx
,
lines
,
opts
)
:
void
Parameters
ctx
:
CanvasRenderingContext2D
lines
:
readonly
string
[]
opts
:
Visual
.
Drawing
.
DrawingOpts
&
{
align
?:
"center"
|
"top"
;
anchor
:
Point
;
anchorPadding
?:
number
;
bounds
?:
RectPositioned
;
}
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
Draws a block of text. Each array item is considered a line.