Package playn.core
Class TextWrap
java.lang.Object
playn.core.TextWrap
Contains the configuration needed when wrapping text.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
MANUAL
An instance that indicates that we should only wrap on manual line breaks and not at any specific width. -
width
public final float widthThe width at which the text is wrapped. -
indent
public final float indentAn indent applied to the first line of text.
-
-
Constructor Details
-
TextWrap
public TextWrap(float width) Creates a text wrap config with the specified width and no indent. -
TextWrap
public TextWrap(float width, float indent) Creates a text wrap config with the specified width and indent.
-
-
Method Details