public class TextLayoutOptions
extends java.lang.Object
Constructor and Description |
---|
TextLayoutOptions() |
Modifier and Type | Method and Description |
---|---|
Align |
getAlignment()
Specifies the horizontal alignment of the text.
|
Align |
getLineAlignment()
Specifies the vertical alignment of the text.
|
float |
getLineDistance()
Specifies the distance between adjacent text lines.
|
boolean |
getMeasureMode() |
boolean |
getNoWrap()
Indicates whether the text should
not automatically wrap to a new line when the space to
display the text is not sufficient.
|
boolean |
getRightToLeft() |
boolean |
getWrapAtCharacter()
Indicates whether the words can and
should split across new lines.
|
boolean |
getWrapOverflowingSingleWordLines() |
void |
setAlignment(Align value) |
void |
setLineAlignment(Align value) |
void |
setLineDistance(float value) |
void |
setMeasureMode(boolean value) |
void |
setNoWrap(boolean value) |
void |
setRightToLeft(boolean value) |
void |
setWrapAtCharacter(boolean value) |
void |
setWrapOverflowingSingleWordLines(boolean value) |
public Align getAlignment()
public void setAlignment(Align value)
public Align getLineAlignment()
public void setLineAlignment(Align value)
public float getLineDistance()
public void setLineDistance(float value)
public boolean getNoWrap()
public void setNoWrap(boolean value)
public boolean getWrapAtCharacter()
public void setWrapAtCharacter(boolean value)
public boolean getRightToLeft()
public void setRightToLeft(boolean value)
public boolean getMeasureMode()
public void setMeasureMode(boolean value)
public boolean getWrapOverflowingSingleWordLines()
public void setWrapOverflowingSingleWordLines(boolean value)