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()
Returns theIShadow?getShadow()
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()
Returns the current font feature settings. ReferFontFeatureSetting[]getFontFeatureSettings()
FontFeatureSetting
Returns
FontFeatureSetting[]
Array of font features with their tags and values.
Returns empty array if no features are set.

