Interface IParagraphStyle
interface IParagraphStyle
Extends com.amazon.apmf.IStandard
interface for paragraph styling configuration of a paragraph
Methods
getMaxLines()
i32 getMaxLines()
Returns the maximum text lines allowed in the paragraph
Returns
i32
The maximum lines allowed as a integer.
Throws
InvalidArgumentError— If a negative or zero max lines value is passed.
getTextAlignment()
TextAlignment getTextAlignment()
Returns the text alignment setting.
Returns
TextAlignment
The text alignment as a TextAlignment enumeration.
getEllipsis()
string getEllipsis()
Returns the ellipsis string set by the user.
Returns
string
The string set by the user.
getTextDirection()
TextDirection getTextDirection()
Returns the direction of the text in the paragraph
Returns
TextDirection
The TextDirection enum
getLineHeightBehavior()
LineHeightBehavior getLineHeightBehavior()
Returns the text height behaviour
Returns
LineHeightBehavior
The LineHeightBehavior enum

