public static class TextStyle.TextBuilder<T extends TextStyle.TextBuilder<T>> extends RenderStyle.StyleBuilder<T>
| Modifier and Type | Field and Description |
|---|---|
float |
areaSize |
Bitmap |
bitmap |
boolean |
caption |
float |
dy |
Paint.FontFamily |
fontFamily |
float |
fontSize |
Paint.FontStyle |
fontStyle |
int |
priority |
int |
symbolHeight |
int |
symbolPercent |
int |
symbolWidth |
java.lang.String |
textKey |
TextureRegion |
texture |
cat, fillColor, level, strokeColor, strokeWidth, style, themeCallback| Constructor and Description |
|---|
TextBuilder() |
| Modifier and Type | Method and Description |
|---|---|
T |
areaSize(float areaSize) |
T |
bitmap(Bitmap bitmap) |
TextStyle |
build() |
TextStyle |
buildInternal() |
T |
fontFamily(Paint.FontFamily fontFamily) |
T |
fontSize(float fontSize) |
T |
fontStyle(Paint.FontStyle fontStyle) |
T |
from(TextStyle.TextBuilder<?> other) |
T |
isCaption(boolean caption) |
T |
offsetY(float dy) |
T |
priority(int priority) |
T |
reset() |
TextStyle.TextBuilder<?> |
set(TextStyle text) |
T |
symbolHeight(int symbolHeight) |
T |
symbolPercent(int symbolPercent) |
T |
symbolWidth(int symbolWidth) |
T |
textKey(java.lang.String textKey) |
T |
texture(TextureRegion texture) |
cat, color, color, level, outline, self, strokeColor, strokeColor, strokeWidth, style, themeCallbackpublic float fontSize
public java.lang.String textKey
public boolean caption
public float dy
public int priority
public float areaSize
public Bitmap bitmap
public TextureRegion texture
public Paint.FontFamily fontFamily
public Paint.FontStyle fontStyle
public int symbolWidth
public int symbolHeight
public int symbolPercent
public T reset()
public TextStyle build()
build in class RenderStyle.StyleBuilder<T extends TextStyle.TextBuilder<T>>public TextStyle buildInternal()
public T fontSize(float fontSize)
public T textKey(java.lang.String textKey)
public T isCaption(boolean caption)
public T offsetY(float dy)
public T priority(int priority)
public T areaSize(float areaSize)
public T texture(TextureRegion texture)
public T fontFamily(Paint.FontFamily fontFamily)
public T fontStyle(Paint.FontStyle fontStyle)
public T symbolWidth(int symbolWidth)
public T symbolHeight(int symbolHeight)
public T symbolPercent(int symbolPercent)
public T from(TextStyle.TextBuilder<?> other)
public TextStyle.TextBuilder<?> set(TextStyle text)