@Environment(value=CLIENT) public enum WhiteRectangleGlyph extends Enum<WhiteRectangleGlyph> implements RenderableGlyph
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
private static NativeImage |
IMAGE |
| Modifier and Type | Method and Description |
|---|---|
float |
getAdvance() |
int |
getHeight() |
float |
getOversample() |
int |
getWidth() |
boolean |
hasColor() |
void |
upload(int x,
int y) |
static WhiteRectangleGlyph |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WhiteRectangleGlyph[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetAscent, getXMax, getXMin, getYMax, getYMingetAdvance, getBearingX, getBoldOffset, getShadowOffsetpublic static final WhiteRectangleGlyph INSTANCE
private static final NativeImage IMAGE
public static WhiteRectangleGlyph[] values()
for (WhiteRectangleGlyph c : WhiteRectangleGlyph.values()) System.out.println(c);
public static WhiteRectangleGlyph valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getWidth()
getWidth in interface RenderableGlyphpublic int getHeight()
getHeight in interface RenderableGlyphpublic float getAdvance()
getAdvance in interface Glyphpublic float getOversample()
getOversample in interface RenderableGlyphpublic void upload(int x,
int y)
upload in interface RenderableGlyphpublic boolean hasColor()
hasColor in interface RenderableGlyph