Package playn.core
Class Font
java.lang.Object
playn.core.Font
Contains metadata for a font.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The styles that may be requested for a given font. -
Field Summary
Modifier and TypeFieldDescriptionfinal String
The name of this font.final float
The point size of this font.final Font.Style
The style of this font. -
Constructor Summary
ConstructorDescriptionCreates a font as specified withFont.Style.PLAIN
..Font
(String name, Font.Style style, float size) Creates a font as specified. -
Method Summary
-
Field Details
-
name
The name of this font. -
style
The style of this font. -
size
public final float sizeThe point size of this font.
-
-
Constructor Details
-
Font
Creates a font as specified. -
Font
Creates a font as specified withFont.Style.PLAIN
..
-
-
Method Details