Italic axis value (ital). If no ital axis is present, changes slant axis value (slnt) instead.
ReadonlynameName of the custom variation style. Used to assign to Text.preferredStyle to change style to custom style.
Optical size axis value (opsz).
Slant axis value (slnt), in degrees.
Weight axis value (wght).
Width axis value (wdth).
StaticgetReturns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
A user-defined named style on a variable Font. Holds the standard variation axis values (weight, width, slant, italic, opticalSize) plus any custom axes the font exposes (e.g.
GRAD,YOPQ). Create via Font.createVariationStyle.Example