Class: SUIText
This page documents the methods and fields available in the SUIText class.
Members
| Signature | Description |
|---|---|
getAlignment() | Returns the current alignment. |
getColor() | Returns the current color. |
getFont() | Returns the current font. |
getResolution() | Returns the current resolution. |
getResolutionUnitType() | Returns the current resolution unit type. |
getScale() | Returns the current scale. |
getText() | Returns the current text. |
isIgnoreMask() | Returns whether ignore mask is true. |
measureHeight(String) | Calculates and returns the height. |
measureHeight(String[]) | Calculates and returns the height. |
measureWidth(String) | Calculates and returns the width. |
measureWidth(String[]) | Calculates and returns the width. |
setAlignment(STextAlignment) | Sets or updates the alignment. |
setColor(Color) | Sets or updates the color. |
setFont(Font) | Sets or updates the font. |
setIgnoreMask(boolean) | Sets or updates the ignore mask. |
setResolution(int) | Sets or updates the resolution. |
setResolution(int, SUnitType) | Sets or updates the resolution. |
setResolutionUnitType(SUnitType) | Sets or updates the resolution unit type. |
setScale(float) | Sets or updates the scale. |
setText(String) | Sets or updates the text. |
setText(String...) | Sets or updates the text. |
setText(boolean) | Sets or updates the text. |
setText(byte) | Sets or updates the text. |
setText(double) | Sets or updates the text. |
setText(float) | Sets or updates the text. |
setText(int) | Sets or updates the text. |
setText(short) | Sets or updates the text. |