Skip to content

Class: FontInfo

Constructors

Properties

Constructors

constructor

new FontInfo(): FontInfo

Returns

FontInfo

Defined in

src/loader/parser/FontParser.ts:31

Properties

face

face: string = ''

Defined in

src/loader/parser/FontParser.ts:9


size

size: number = 0

Defined in

src/loader/parser/FontParser.ts:10


bold

bold: boolean = false

Defined in

src/loader/parser/FontParser.ts:11


italic

italic: boolean = false

Defined in

src/loader/parser/FontParser.ts:12


stretchH

stretchH: number = 0

Defined in

src/loader/parser/FontParser.ts:13


spacing

spacing: string = ''

Defined in

src/loader/parser/FontParser.ts:14


outline

outline: number = 0

Defined in

src/loader/parser/FontParser.ts:15


lineHeight

lineHeight: number = 0

Defined in

src/loader/parser/FontParser.ts:16


base

base: number = 0

Defined in

src/loader/parser/FontParser.ts:17


scaleW

scaleW: number = 0

Defined in

src/loader/parser/FontParser.ts:18


scaleH

scaleH: number = 0

Defined in

src/loader/parser/FontParser.ts:19


pages

pages: number = 0

Defined in

src/loader/parser/FontParser.ts:20


packed

packed: number = 0

Defined in

src/loader/parser/FontParser.ts:21


alphaChnl

alphaChnl: number = 0

Defined in

src/loader/parser/FontParser.ts:22


redChnl

redChnl: number = 0

Defined in

src/loader/parser/FontParser.ts:23


greenChnl

greenChnl: number = 0

Defined in

src/loader/parser/FontParser.ts:24


blueChnl

blueChnl: number = 0

Defined in

src/loader/parser/FontParser.ts:25


count

count: number = 0

Defined in

src/loader/parser/FontParser.ts:26


fontPage

fontPage: FontPage[] = []

Defined in

src/loader/parser/FontParser.ts:28


fontChar

fontChar: Object = {}

Index signature

▪ [key: string]: FontChar

Defined in

src/loader/parser/FontParser.ts:29