- Functions to manipulate a label component.
See LabelProperties for related properties.
Static methods
staticgetText(url:HashOrStringOrUrl):String
- Gets the text from a label component
Returns:
the label text
staticgetTextMetrics(url:HashOrStringOrUrl):LabelTextMetrics
- Gets the text metrics from a label component
Parameters:
url | the label to get the (unscaled) metrics from |
|---|
staticsetText(url:UrlOrString, text:HashOrString):Void
- Set the text for a label.
Parameters:
url | the label that should have a constant set |
|---|---|
text | the text |