API
API
|
@babylonjs/core
|
GetFontOffset
…
|
API
|
@babylonjs/core
|
GetFontOffset
@babylonjs/core
GetFontOffset
Function GetFontOffset
GetFontOffset
(
font
:
string
)
:
{
ascent
:
number
;
descent
:
number
;
height
:
number
}
Get Font size information
Parameters
font
:
string
font name
Returns
{
ascent
:
number
;
descent
:
number
;
height
:
number
}
an object containing ascent, height and descent
Get Font size information