-
Creates a text style instance based on the supplied element's stylings.
-
A default text style from which custom styles can be derived.
The stylings applied to this text.
Creates a text style with the specified configuration using default anti-aliasing, no effect
and no underline.
Creates a text style with the specified configuration using default anti-aliasing (true)
and no underline.
Returns a copy of this text style with the effect configured as effect
.
Returns a copy of this text style with a pixel outline text effect.
TextStyle.withOutline(int outlineColor,
float outlineWidth)
Returns a copy of this text style with a vector outline text effect.
TextStyle.withShadow(int shadowColor,
float shadowX,
float shadowY)
Returns a copy of this text style with a shadow text effect.
Returns a copy of this text style with the color configured as textColor
.
Returns a copy of this text style with (or without) underlining.
Creates a uniformly formatted multiple-lines of text wrapped at wrapWidth
and
left-aligned.
Creates a uniformly formatted single-line of text.