Package org.robolectric.shadows
Class ShadowTypeface
java.lang.Object
org.robolectric.shadows.ShadowTypeface
- Direct Known Subclasses:
ShadowLegacyTypeface
,ShadowNativeTypeface
@Implements(value=android.graphics.Typeface.class, shadowPicker=Picker.class) public abstract class ShadowTypeface extends Object
Base class for
ShadowTypeface
classes.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowTypeface.FontDesc
Contains data about a font.static class
ShadowTypeface.Picker
Shadow picker forTypeface
. -
Constructor Summary
Constructors Constructor Description ShadowTypeface()
-
Method Summary
Modifier and Type Method Description abstract ShadowTypeface.FontDesc
getFontDescription()
Returns the font description.
-
Constructor Details
-
ShadowTypeface
public ShadowTypeface()
-
-
Method Details
-
getFontDescription
Returns the font description.- Returns:
- Font description.
-