public class IDocumentLayout.LayoutParams
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
antialias |
protected boolean |
changed
If any settings have changed.
|
protected java.lang.Boolean |
debugging |
protected java.lang.String |
hyphen |
protected java.lang.Boolean |
hyphenated |
protected IHyphenator |
hyphenator
All the customizable parameters
|
protected java.lang.Float |
insetPaddingBottom |
protected java.lang.Float |
insetPaddingLeft |
protected java.lang.Float |
insetPaddingRight |
protected java.lang.Float |
insetPaddingTop |
protected java.lang.Float |
lineHeightMultiplier |
protected java.lang.Integer |
maxLines |
protected java.lang.Float |
offsetX |
protected java.lang.Float |
offsetY |
protected java.lang.Float |
parentWidth |
protected java.lang.Float |
rawTextSize |
protected java.lang.Boolean |
reverse |
protected java.lang.Boolean |
subpixelText |
protected TextAlignment |
textAlignment |
protected java.lang.Integer |
textColor |
protected java.lang.Boolean |
textFakeBold |
protected java.lang.Integer |
textLinkColor |
protected java.lang.Boolean |
textStrikeThru |
protected android.graphics.Typeface |
textTypeface |
protected java.lang.Boolean |
textUnderline |
protected java.lang.Float |
wordSpacingMultiplier |
| Constructor and Description |
|---|
LayoutParams() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHyphen() |
IHyphenator |
getHyphenator() |
float |
getInsetPaddingBottom() |
float |
getInsetPaddingLeft() |
float |
getInsetPaddingRight() |
float |
getInsetPaddingTop() |
float |
getLineHeightMultiplier() |
int |
getMaxLines() |
float |
getOffsetX() |
float |
getOffsetY() |
float |
getParentWidth() |
TextAlignment |
getTextAlignment() |
int |
getTextColor() |
java.lang.Integer |
getTextLinkColor() |
float |
getTextSize() |
android.graphics.Typeface |
getTextTypeface() |
java.lang.Float |
getWordSpacingMultiplier() |
boolean |
hasChanged() |
void |
invalidate() |
boolean |
isAntiAlias() |
boolean |
isDebugging() |
boolean |
isHyphenated() |
boolean |
isReverse() |
boolean |
isTextFakeBold() |
boolean |
isTextStrikeThru() |
boolean |
isTextSubPixel() |
boolean |
isTextUnderline() |
void |
loadToPaint(android.graphics.Paint paint) |
void |
setAntialias(boolean antialias) |
void |
setDebugging(java.lang.Boolean debugging) |
void |
setHyphen(java.lang.String hyphen) |
void |
setHyphenated(boolean hyphenated) |
void |
setHyphenator(IHyphenator hyphenator) |
void |
setInsetPaddingBottom(float insetPaddingBottom) |
void |
setInsetPaddingLeft(float insetPaddingLeft) |
void |
setInsetPaddingRight(float insetPaddingRight) |
void |
setInsetPaddingTop(float insetPaddingTop) |
void |
setLineHeightMultiplier(float lineHeightMultiplier) |
void |
setMaxLines(int maxLines) |
void |
setOffsetX(float offsetX) |
void |
setOffsetY(float offsetY) |
void |
setParentWidth(float parentWidth) |
void |
setRawTextSize(float textSize) |
void |
setReverse(boolean reverse) |
void |
setTextAlignment(TextAlignment textAlignment) |
void |
setTextColor(int textColor) |
void |
setTextFakeBold(boolean fakeBold) |
void |
setTextLinkColor(java.lang.Integer textLinkColor) |
void |
setTextSize(float size) |
void |
setTextSize(int unit,
float size) |
void |
setTextStrikeThru(boolean strikeThru) |
void |
setTextSubPixel(boolean subpixelText) |
void |
setTextTypeface(android.graphics.Typeface typeface) |
void |
setTextUnderline(boolean underline) |
void |
setWordSpacingMultiplier(float wordSpacingMultiplier) |
protected IHyphenator hyphenator
protected java.lang.Float insetPaddingLeft
protected java.lang.Float insetPaddingTop
protected java.lang.Float insetPaddingBottom
protected java.lang.Float insetPaddingRight
protected java.lang.Float parentWidth
protected java.lang.Float offsetX
protected java.lang.Float offsetY
protected java.lang.Boolean debugging
protected java.lang.Float wordSpacingMultiplier
protected java.lang.Float lineHeightMultiplier
protected java.lang.Boolean hyphenated
protected java.lang.Boolean reverse
protected java.lang.Boolean subpixelText
protected java.lang.Boolean antialias
protected java.lang.Integer maxLines
protected java.lang.String hyphen
protected TextAlignment textAlignment
protected java.lang.Boolean textUnderline
protected java.lang.Boolean textStrikeThru
protected java.lang.Boolean textFakeBold
protected android.graphics.Typeface textTypeface
protected java.lang.Float rawTextSize
protected java.lang.Integer textColor
protected java.lang.Integer textLinkColor
protected boolean changed
public java.lang.Integer getTextLinkColor()
public void setTextLinkColor(java.lang.Integer textLinkColor)
public void loadToPaint(android.graphics.Paint paint)
public java.lang.Float getWordSpacingMultiplier()
public void setWordSpacingMultiplier(float wordSpacingMultiplier)
public TextAlignment getTextAlignment()
public void setTextAlignment(TextAlignment textAlignment)
public IHyphenator getHyphenator()
public void setHyphenator(IHyphenator hyphenator)
public float getInsetPaddingLeft()
public void setInsetPaddingLeft(float insetPaddingLeft)
public float getInsetPaddingTop()
public void setInsetPaddingTop(float insetPaddingTop)
public float getInsetPaddingBottom()
public void setInsetPaddingBottom(float insetPaddingBottom)
public float getInsetPaddingRight()
public void setInsetPaddingRight(float insetPaddingRight)
public float getParentWidth()
public void setParentWidth(float parentWidth)
public float getOffsetX()
public void setOffsetX(float offsetX)
public float getOffsetY()
public void setOffsetY(float offsetY)
public float getLineHeightMultiplier()
public void setLineHeightMultiplier(float lineHeightMultiplier)
public boolean isHyphenated()
public void setHyphenated(boolean hyphenated)
public boolean isReverse()
public void setReverse(boolean reverse)
public int getMaxLines()
public void setMaxLines(int maxLines)
public java.lang.String getHyphen()
public void setHyphen(java.lang.String hyphen)
public boolean hasChanged()
public void invalidate()
public boolean isTextUnderline()
public void setTextUnderline(boolean underline)
public boolean isTextStrikeThru()
public void setTextStrikeThru(boolean strikeThru)
public boolean isTextFakeBold()
public void setTextFakeBold(boolean fakeBold)
public android.graphics.Typeface getTextTypeface()
public void setTextTypeface(android.graphics.Typeface typeface)
public void setTextSize(int unit,
float size)
public float getTextSize()
public void setTextSize(float size)
public void setRawTextSize(float textSize)
public int getTextColor()
public void setTextColor(int textColor)
public boolean isDebugging()
public void setDebugging(java.lang.Boolean debugging)
public boolean isTextSubPixel()
public void setTextSubPixel(boolean subpixelText)
public boolean isAntiAlias()
public void setAntialias(boolean antialias)