FontFileDataInfo

FontFileDataInfo class

Represents data infomation of font file data.

class FontFileDataInfo;

Properties

PropertyTypeDescription
dataUint8ArrayReadonly. Gets binary data of font file.
formatTypeFontFileFormatTypeReadonly. Gets font format type of font file.

Methods

MethodDescription
getData()@deprecated. Please use the ‘data’ property instead. Gets binary data of font file.
getFormatType()@deprecated. Please use the ‘formatType’ property instead. Gets font format type of font file.
isNull()Checks whether the implementation object is null.

data

Readonly. Gets binary data of font file.

data : Uint8Array;

formatType

Readonly. Gets font format type of font file.

formatType : FontFileFormatType;

getData()

@deprecated. Please use the ‘data’ property instead. Gets binary data of font file.

getData() : Uint8Array;

getFormatType()

@deprecated. Please use the ‘formatType’ property instead. Gets font format type of font file.

getFormatType() : FontFileFormatType;

Returns

FontFileFormatType

isNull()

Checks whether the implementation object is null.

isNull() : boolean;