@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, valueOf
getAscent, getXMax, getXMin, getYMax, getYMin
getAdvance, getBearingX, getBoldOffset, getShadowOffset
public 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 RenderableGlyph
public int getHeight()
getHeight
in interface RenderableGlyph
public float getAdvance()
getAdvance
in interface Glyph
public float getOversample()
getOversample
in interface RenderableGlyph
public void upload(int x, int y)
upload
in interface RenderableGlyph
public boolean hasColor()
hasColor
in interface RenderableGlyph