Package com.teamten.font
Class TypefaceVariant
java.lang.Object
com.teamten.font.TypefaceVariant
- Direct Known Subclasses:
TypefaceVariantSize
Represents both a typeface (e.g., Helvetica) and its variant (e.g., bold italic).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Utility method that gets theFontName
from the typeface for the font variant.int
hashCode()
toString()
withTypeface
(Typeface typeface) Create a new typeface variant with the specified typeface but this object's variant.
-
Constructor Details
-
TypefaceVariant
-
-
Method Details
-
getTypeface
-
getFontVariant
-
getFontName
Utility method that gets theFontName
from the typeface for the font variant. -
toString
-
withTypeface
Create a new typeface variant with the specified typeface but this object's variant. -
equals
-
hashCode
public int hashCode()
-