Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

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


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
Last modified on October 29, 2026