public static class TextStyle.TextBuilder<T extends TextStyle.TextBuilder<T>> extends RenderStyle.StyleBuilder<T>
| Modifier and Type | Field and Description |
|---|---|
Bitmap |
bitmap |
boolean |
caption |
float |
dy |
Paint.FontFamily |
fontFamily |
float |
fontSize |
Paint.FontStyle |
fontStyle |
int |
priority |
java.lang.String |
textKey |
TextureRegion |
texture |
cat, fillColor, level, strokeColor, strokeWidth, style| Constructor and Description |
|---|
TextBuilder() |
| Modifier and Type | Method and Description |
|---|---|
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) |
TextStyle.TextBuilder<?> |
from(TextStyle style) |
T |
isCaption(boolean caption) |
T |
offsetY(float dy) |
T |
priority(int priority) |
T |
reset() |
T |
textKey(java.lang.String textKey) |
T |
texture(TextureRegion texture) |
cat, color, color, level, outline, self, strokeColor, strokeColor, strokeWidth, stylepublic float fontSize
public java.lang.String textKey
public boolean caption
public float dy
public int priority
public Bitmap bitmap
public TextureRegion texture
public Paint.FontFamily fontFamily
public Paint.FontStyle fontStyle
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 texture(TextureRegion texture)
public T fontFamily(Paint.FontFamily fontFamily)
public T fontStyle(Paint.FontStyle fontStyle)
public T from(TextStyle.TextBuilder<?> other)
public TextStyle.TextBuilder<?> from(TextStyle style)