Package net.minecraft.client.gui.fonts
Enum Class WhiteGlyph
- All Implemented Interfaces:
Serializable,Comparable<WhiteGlyph>,Constable,IGlyph,IGlyphInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatintintbooleanvoidupload(int p_211573_1_, int p_211573_2_) static WhiteGlyphReturns the enum constant of this class with the specified name.static WhiteGlyph[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.client.gui.fonts.IGlyph
getAdvance, getBearingX, getBoldOffset, getShadowOffsetMethods inherited from interface net.minecraft.client.gui.fonts.IGlyphInfo
getBearingY, getDown, getLeft, getRight, getUp
-
Enum Constant Details
-
INSTANCE
-
-
Field Details
-
IMAGE_DATA
-
-
Constructor Details
-
WhiteGlyph
private WhiteGlyph()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getPixelWidth
public int getPixelWidth()- Specified by:
getPixelWidthin interfaceIGlyphInfo
-
getPixelHeight
public int getPixelHeight()- Specified by:
getPixelHeightin interfaceIGlyphInfo
-
getAdvance
public float getAdvance()- Specified by:
getAdvancein interfaceIGlyph
-
getOversample
public float getOversample()- Specified by:
getOversamplein interfaceIGlyphInfo
-
upload
public void upload(int p_211573_1_, int p_211573_2_) - Specified by:
uploadin interfaceIGlyphInfo
-
isColored
public boolean isColored()- Specified by:
isColoredin interfaceIGlyphInfo
-