Skip to content
UIFontInfo

UI / UIFontInfo

UIFontInfo Class ​

font information

Table of contents ​

Properties ​

contentColor: LinearColor
Content Color
fontSize: number
size
glyph: UIFontGlyph
Glyph
letterSpacing: number
spacing
outLineColor: LinearColor
stroke color
outLineSize: number
Stroke size
richText: boolean
Rich text
shadowColor: LinearColor
Shadow color
shadowOffset: Vector2
Shadow offset
strikethrough: boolean
Strikethrough
textAlign: TextJustify
Alignment method
textVerticalAlign: TextVerticalJustify
Vertical align
underline: boolean
Underline

Properties ​

contentColor ​

• contentColor: LinearColor

Content Color


fontSize ​

• fontSize: number

size


glyph ​

• glyph: UIFontGlyph

Glyph


letterSpacing ​

• letterSpacing: number

spacing


outLineColor ​

• outLineColor: LinearColor

stroke color


outLineSize ​

• outLineSize: number

Stroke size


richText ​

• richText: boolean

Rich text


shadowColor ​

• shadowColor: LinearColor

Shadow color


shadowOffset ​

• shadowOffset: Vector2

Shadow offset


strikethrough ​

• strikethrough: boolean

Strikethrough


textAlign ​

• textAlign: TextJustify

Alignment method


textVerticalAlign ​

• textVerticalAlign: TextVerticalJustify

Vertical align


underline ​

• underline: boolean

Underline