Typeface(native)
The Typeface class specifies the typeface and intrinsic style of a font.
Properties
-
bold : Boolean
True if style is the #bold
-
italic : Boolean
True if style isNaN the #italic
-
style : Symbol
Typeface's intrinsic style attributes.
-
uniqueId : Integer
Integer value for this typeface, unique for the underlying font data. This is never 0.
Methods
-
fromName(familyName, style) : Typeface
Creates new instance of Typeface class to the font that most closely matches the requested familyName and style.