public enum DefaultGlyph extends java.lang.Enum<DefaultGlyph> implements IGlyphInfo
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
private static NativeImage |
NATIVE_IMAGE |
| Modifier and Type | Method and Description |
|---|---|
float |
getAdvance() |
int |
getHeight() |
float |
getOversample() |
int |
getWidth() |
boolean |
isColored() |
void |
uploadGlyph(int xOffset,
int yOffset) |
static DefaultGlyph |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultGlyph[] |
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, valueOffunc_211198_f, func_211199_g, func_211200_h, func_211204_i, getBearingYgetAdvance, getBearingX, getBoldOffset, getShadowOffsetpublic static final DefaultGlyph INSTANCE
private static final NativeImage NATIVE_IMAGE
public static DefaultGlyph[] values()
for (DefaultGlyph c : DefaultGlyph.values()) System.out.println(c);
public static DefaultGlyph valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getWidth()
getWidth in interface IGlyphInfopublic int getHeight()
getHeight in interface IGlyphInfopublic float getAdvance()
getAdvance in interface IGlyphpublic float getOversample()
getOversample in interface IGlyphInfopublic void uploadGlyph(int xOffset,
int yOffset)
uploadGlyph in interface IGlyphInfopublic boolean isColored()
isColored in interface IGlyphInfo