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 ITextStyle3

interface ITextStyle3
Extends ITextStyle2 Interface extends ITextStyle2 to provide additional shadow, text decoration color capabilities and support OpenType font feature settings.

Methods

getTextDecorationColor()

Color getTextDecorationColor()
Returns the Color used for text decoration. If no decoration color was explicitly set by user, it will take the color of text to which text decoration color is applied.

Returns

Color The color used for text decoration.

getShadow()

IShadow? getShadow()
Returns the IShadow object that specifies the properties of the shadow effect currently applied to the text style. If no shadow has been set, null will be returned.

Returns

IShadow? The return value is optional and might be absent. The shadow object set on the text.

getFontFeatureSettings()

FontFeatureSetting[] getFontFeatureSettings()
Returns the current font feature settings. Refer FontFeatureSetting

Returns

FontFeatureSetting[] Array of font features with their tags and values. Returns empty array if no features are set.
Last modified on October 29, 2026