-
public class TextAttributes
-
-
Field Summary
Fields Modifier and Type Field Description public final static float
DEFAULT_MAX_FONT_SIZE_MULTIPLIER
-
Constructor Summary
Constructors Constructor Description TextAttributes()
-
Method Summary
Modifier and Type Method Description TextAttributes
applyChild(TextAttributes child)
boolean
getAllowFontScaling()
void
setAllowFontScaling(boolean value)
float
getFontSize()
void
setFontSize(float value)
float
getLineHeight()
void
setLineHeight(float value)
float
getLetterSpacing()
void
setLetterSpacing(float value)
float
getMaxFontSizeMultiplier()
void
setMaxFontSizeMultiplier(float maxFontSizeMultiplier)
float
getHeightOfTallestInlineViewOrImage()
void
setHeightOfTallestInlineViewOrImage(float value)
TextTransform
getTextTransform()
void
setTextTransform(TextTransform textTransform)
int
getEffectiveFontSize()
float
getEffectiveLineHeight()
float
getEffectiveLetterSpacing()
float
getEffectiveMaxFontSizeMultiplier()
String
toString()
-
-
Method Detail
-
applyChild
TextAttributes applyChild(TextAttributes child)
-
getAllowFontScaling
boolean getAllowFontScaling()
-
setAllowFontScaling
void setAllowFontScaling(boolean value)
-
getFontSize
float getFontSize()
-
setFontSize
void setFontSize(float value)
-
getLineHeight
float getLineHeight()
-
setLineHeight
void setLineHeight(float value)
-
getLetterSpacing
float getLetterSpacing()
-
setLetterSpacing
void setLetterSpacing(float value)
-
getMaxFontSizeMultiplier
float getMaxFontSizeMultiplier()
-
setMaxFontSizeMultiplier
void setMaxFontSizeMultiplier(float maxFontSizeMultiplier)
-
getHeightOfTallestInlineViewOrImage
float getHeightOfTallestInlineViewOrImage()
-
setHeightOfTallestInlineViewOrImage
void setHeightOfTallestInlineViewOrImage(float value)
-
getTextTransform
TextTransform getTextTransform()
-
setTextTransform
void setTextTransform(TextTransform textTransform)
-
getEffectiveFontSize
int getEffectiveFontSize()
-
getEffectiveLineHeight
float getEffectiveLineHeight()
-
getEffectiveLetterSpacing
float getEffectiveLetterSpacing()
-
getEffectiveMaxFontSizeMultiplier
float getEffectiveMaxFontSizeMultiplier()
-
-
-
-