Skip to content

UILabel

Inherits UIView

UILabel is a class that can be used to display text.

Properties

Text : string

The text of the label.

TextColor : Color

The color of the text.

OutlineWidth : number

The width of the text outline.

OutlineColor : Color

The color of the text outline.

HorizontalAlignment : TextHorizontalAlignmentEnum

Determines the horizontal alignment of the text.

VerticalAlignment : TextVerticalAlignmentEnum

Determines the vertical alignment of the text.

FontSize : number

The font size of the text.

UseRichText : boolean

Determines whether the text uses rich text formatting.

FontAsset : FontAsset

The font asset used for the text.