Enum DefaultGlyph

    • Enum Constant Detail

    • Field Detail

      • IMAGE_DATA

        private static final NativeImage IMAGE_DATA
    • Constructor Detail

      • DefaultGlyph

        private DefaultGlyph()
    • Method Detail

      • values

        public static DefaultGlyph[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DefaultGlyph c : DefaultGlyph.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DefaultGlyph valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getAdvance

        public float getAdvance()
        Specified by:
        getAdvance in interface IGlyph
      • upload

        public void upload​(int p_211573_1_,
                           int p_211573_2_)
        Specified by:
        upload in interface IGlyphInfo