sprunk-engine
Preparing search index...
Extensions/RenderEngine/Text/MSDFFont/MsdfFont
MsdfFont
Class MsdfFont
Index
Constructors
constructor
Properties
bind
Group
char
Count
chars
default
Char
kernings
line
Height
pipeline
Methods
get
Char
getXAdvance
Constructors
constructor
new
MsdfFont
(
pipeline
:
GPURenderPipeline
,
bindGroup
:
GPUBindGroup
,
lineHeight
:
number
,
chars
:
{
[
x
:
number
]:
MsdfChar
}
,
kernings
:
KerningMap
,
)
:
MsdfFont
Parameters
pipeline
:
GPURenderPipeline
bindGroup
:
GPUBindGroup
lineHeight
:
number
chars
:
{
[
x
:
number
]:
MsdfChar
}
kernings
:
KerningMap
Returns
MsdfFont
Properties
bind
Group
bindGroup
:
GPUBindGroup
char
Count
charCount
:
number
chars
chars
:
{
[
x
:
number
]:
MsdfChar
}
default
Char
defaultChar
:
MsdfChar
kernings
kernings
:
KerningMap
line
Height
lineHeight
:
number
pipeline
pipeline
:
GPURenderPipeline
Methods
get
Char
getChar
(
charCode
:
number
)
:
MsdfChar
Parameters
charCode
:
number
Returns
MsdfChar
getXAdvance
getXAdvance
(
charCode
:
number
,
nextCharCode
?:
number
)
:
number
Parameters
charCode
:
number
nextCharCode
:
number
= -1
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bind
Group
char
Count
chars
default
Char
kernings
line
Height
pipeline
Methods
get
Char
getXAdvance
sprunk-engine
Loading...