Dynamic Icons Scripting Reference - v1.3.0
GitHub
Wiki
Preparing search index...
skia-canvas
FontLibrary
Interface FontLibrary
interface
FontLibrary
{
families
:
readonly
string
[]
;
family
(
name
:
string
)
:
undefined
|
FontFamily
;
has
(
familyName
:
string
)
:
boolean
;
use
(
familyName
:
string
,
fontPaths
?:
string
|
readonly
string
[]
)
:
Font
[]
;
use
(
fontPaths
:
readonly
string
[]
)
:
Font
[]
;
use
(
families
:
Record
<
string
,
string
|
readonly
string
[]
>
,
)
:
Record
<
string
,
Font
|
Font
[]
>
;
reset
()
:
void
;
}
Index
Methods
family
has
use
reset
Properties
families
Methods
family
family
(
name
:
string
)
:
undefined
|
FontFamily
Parameters
name
:
string
Returns
undefined
|
FontFamily
has
has
(
familyName
:
string
)
:
boolean
Parameters
familyName
:
string
Returns
boolean
use
use
(
familyName
:
string
,
fontPaths
?:
string
|
readonly
string
[]
)
:
Font
[]
Parameters
familyName
:
string
Optional
fontPaths
:
string
|
readonly
string
[]
Returns
Font
[]
use
(
fontPaths
:
readonly
string
[]
)
:
Font
[]
Parameters
fontPaths
:
readonly
string
[]
Returns
Font
[]
use
(
families
:
Record
<
string
,
string
|
readonly
string
[]
>
,
)
:
Record
<
string
,
Font
|
Font
[]
>
Parameters
families
:
Record
<
string
,
string
|
readonly
string
[]
>
Returns
Record
<
string
,
Font
|
Font
[]
>
reset
reset
()
:
void
Returns
void
Properties
families
families
:
readonly
string
[]
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
family
has
use
reset
Properties
families
GitHub
Wiki
Dynamic Icons Scripting Reference - v1.3.0
Loading...