Index
Functions
align
Center
align
Left
align
Right
text
text
Width
Functions
Const
align
Center
align
Center
(
font
:
MSDFFont
, opts
:
Partial
<
TextOpts
>
, line
:
string
)
:
number
Parameters
font:
MSDFFont
opts:
Partial
<
TextOpts
>
line:
string
Returns
number
Const
align
Left
align
Left
(
)
:
number
Returns
number
Const
align
Right
align
Right
(
font
:
MSDFFont
, opts
:
Partial
<
TextOpts
>
, line
:
string
)
:
number
Parameters
font:
MSDFFont
opts:
Partial
<
TextOpts
>
line:
string
Returns
number
Const
text
text
(
glyphs
:
MSDFFont
, txt
:
string
, opts
?:
Partial
<
TextOpts
>
)
:
ModelSpec
Parameters
glyphs:
MSDFFont
txt:
string
Optional
opts:
Partial
<
TextOpts
>
Returns
ModelSpec
Const
text
Width
text
Width
(
font
:
MSDFFont
, opts
:
Partial
<
TextOpts
>
, txt
:
string
)
:
number
Parameters
font:
MSDFFont
opts:
Partial
<
TextOpts
>
txt:
string
Returns
number
Globals
"api"
"convert"
"index"
"shader"
"text"
align
Center
align
Left
align
Right
text
text
Width
Generated using
TypeDoc