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, valueOf
func_211198_f, func_211199_g, func_211200_h, func_211204_i, getBearingY
getAdvance, getBearingX, getBoldOffset, getShadowOffset
public 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 IGlyphInfo
public int getHeight()
getHeight
in interface IGlyphInfo
public float getAdvance()
getAdvance
in interface IGlyph
public float getOversample()
getOversample
in interface IGlyphInfo
public void uploadGlyph(int xOffset, int yOffset)
uploadGlyph
in interface IGlyphInfo
public boolean isColored()
isColored
in interface IGlyphInfo