Text Label

Text Label can be used to display text. Text Label is similar to UILabel for iOS, which is used for displaying text to the user only.

iOS Development Notes: Text Label is equivalent to UILabel class in iOS.

A text label with its attributes

View Attributes

Common attributes for text label are: position, size, anchor point, rotation, text and shadow. Additionally, these are supported

  • Number of lines: Maximum number of lines for the text. If the text exceed max line, it will be truncated.
  • Text attributes: Attributes of the displayed text including font, font size, and text color

Intrinsic Content Size

Text label supports intrinsic content size. Intrinsic content size is natural size of the view, which is based on the size of the text font itself. Read more about intrinsic content size here.