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