new GOWN.ThemeFont(data)
Font theme
Name | Type | Description |
---|---|---|
data |
Object | The font style object |
Members
-
align
-
-
dropShadow
-
-
dropShadowAngle
-
-
dropShadowColor
-
-
dropShadowDistance
-
-
fillString
-
The font fill color
- Default Value:
- '#000'
-
fontString
-
Instead of setting font using fontFamily and fontSize is encouraged
- Deprecated
- Yes
-
fontFamilyString
-
The font family
- Default Value:
- 'Arial'
-
fontSizeNumber
-
The font size
- Default Value:
- 12
-
lineHeight
-
-
lineJoin
-
-
miterLimit
-
-
stroke
-
-
strokeThickness
-
-
textBaseline
-
-
wordWrap
-
-
wordWrapWidth
-
Methods
-
clone(){GOWN.ThemeFont}
-
Clone the ThemeFont instance
Returns:
Type Description GOWN.ThemeFont The cloned font theme