Package org.oscim.theme.styles
Class TextStyle.TextBuilder<T extends TextStyle.TextBuilder<T>>
java.lang.Object
org.oscim.theme.styles.RenderStyle.StyleBuilder<T>
org.oscim.theme.styles.TextStyle.TextBuilder<T>
- Enclosing class:
- TextStyle
public static class TextStyle.TextBuilder<T extends TextStyle.TextBuilder<T>>
extends RenderStyle.StyleBuilder<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatintbooleanfloatfloatintintintintFields inherited from class org.oscim.theme.styles.RenderStyle.StyleBuilder
cat, fillColor, level, strokeColor, strokeWidth, style, themeCallback -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionareaSize(float areaSize) bgFillColor(int color) bgFillColor(String color) build()fontFamily(Paint.FontFamily fontFamily) fontSize(float fontSize) fontStyle(Paint.FontStyle fontStyle) from(TextStyle.TextBuilder<?> other) isCaption(boolean caption) offsetY(float dy) priority(int priority) reset()symbolHeight(int symbolHeight) symbolPercent(int symbolPercent) symbolWidth(int symbolWidth) texture(TextureRegion texture) Methods inherited from class org.oscim.theme.styles.RenderStyle.StyleBuilder
cat, color, color, level, outline, self, strokeColor, strokeColor, strokeWidth, style, themeCallback
-
Field Details
-
fontSize
public float fontSize -
textKey
-
caption
public boolean caption -
dy
public float dy -
priority
public int priority -
areaSize
public float areaSize -
bitmap
-
texture
-
fontFamily
-
fontStyle
-
symbolWidth
public int symbolWidth -
symbolHeight
public int symbolHeight -
symbolPercent
public int symbolPercent -
bgFillColor
public int bgFillColor
-
-
Constructor Details
-
TextBuilder
public TextBuilder()
-
-
Method Details
-
reset
-
build
- Specified by:
buildin classRenderStyle.StyleBuilder<T extends TextStyle.TextBuilder<T>>
-
buildInternal
-
fontSize
-
textKey
-
isCaption
-
offsetY
-
priority
-
areaSize
-
bitmap
-
texture
-
fontFamily
-
fontStyle
-
symbolWidth
-
symbolHeight
-
symbolPercent
-
bgFillColor
-
bgFillColor
-
from
-
set
-