public class TextAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static float |
DEFAULT_MAX_FONT_SIZE_MULTIPLIER |
Constructor and Description |
---|
TextAttributes() |
Modifier and Type | Method and Description |
---|---|
TextAttributes |
applyChild(TextAttributes child) |
boolean |
getAllowFontScaling() |
int |
getEffectiveFontSize() |
float |
getEffectiveLetterSpacing() |
float |
getEffectiveLineHeight() |
float |
getEffectiveMaxFontSizeMultiplier() |
float |
getFontSize() |
float |
getHeightOfTallestInlineImage() |
float |
getLetterSpacing() |
float |
getLineHeight() |
float |
getMaxFontSizeMultiplier() |
TextTransform |
getTextTransform() |
void |
setAllowFontScaling(boolean value) |
void |
setFontSize(float value) |
void |
setHeightOfTallestInlineImage(float value) |
void |
setLetterSpacing(float value) |
void |
setLineHeight(float value) |
void |
setMaxFontSizeMultiplier(float maxFontSizeMultiplier) |
void |
setTextTransform(TextTransform textTransform) |
java.lang.String |
toString() |
public static final float DEFAULT_MAX_FONT_SIZE_MULTIPLIER
public TextAttributes applyChild(TextAttributes child)
public boolean getAllowFontScaling()
public void setAllowFontScaling(boolean value)
public float getFontSize()
public void setFontSize(float value)
public float getLineHeight()
public void setLineHeight(float value)
public float getLetterSpacing()
public void setLetterSpacing(float value)
public float getMaxFontSizeMultiplier()
public void setMaxFontSizeMultiplier(float maxFontSizeMultiplier)
public float getHeightOfTallestInlineImage()
public void setHeightOfTallestInlineImage(float value)
public TextTransform getTextTransform()
public void setTextTransform(TextTransform textTransform)
public int getEffectiveFontSize()
public float getEffectiveLineHeight()
public float getEffectiveLetterSpacing()
public float getEffectiveMaxFontSizeMultiplier()
public java.lang.String toString()
toString
in class java.lang.Object