@Environment(value=CLIENT) public enum BlankGlyph extends Enum<BlankGlyph> 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 BlankGlyph |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlankGlyph[] |
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 BlankGlyph INSTANCE
private static final NativeImage IMAGE
public static BlankGlyph[] values()
for (BlankGlyph c : BlankGlyph.values()) System.out.println(c);
public static BlankGlyph 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