MemoryFontSource constructor

MemoryFontSource(fontData) {#number[]}

Ctor.

MemoryFontSource(fontData: number[])
ParameterTypeDescription
fontDatanumber[]Binary font data.

MemoryFontSource(fontData, priority) {#number[]_number}

Ctor.

MemoryFontSource(fontData: number[], priority: number)
ParameterTypeDescription
fontDatanumber[]Binary font data.
prioritynumberFont source priority. See the FontSourceBase.priority property description for more information.

MemoryFontSource(fontData, priority, cacheKey) {#number[]_number_string}

Ctor.

MemoryFontSource(fontData: number[], priority: number, cacheKey: string)
ParameterTypeDescription
fontDatanumber[]Binary font data.
prioritynumberFont source priority. See the FontSourceBase.priority property description for more information.
cacheKeystringThe key of this source in the cache. See MemoryFontSource.cacheKey property description for more information.

See Also