Variable: FontFace
ts
FontFace: {
(family, source, descriptors?): FontFace;
prototype: FontFace;
};Defined in: types/desktop-engine.d.ts:5229
Type Declaration
Throws a TypeError with fewer than two arguments; a family, descriptors or source that aren't valid make a face of status "error"
Parameters
| Parameter | Type |
|---|---|
family | string |
source | string | ArrayBuffer | ArrayBufferView<ArrayBufferLike> |
descriptors? | FontFaceDescriptors |
Returns
| Name | Type | Defined in |
|---|---|---|
prototype | FontFace | types/desktop-engine.d.ts:5255 |
