Enum Class MatrixFont8x8

java.lang.Object
java.lang.Enum<MatrixFont8x8>
eu.hansolo.tilesfx.chart.MatrixFont8x8
All Implemented Interfaces:
MatrixFont, Serializable, Comparable<MatrixFont8x8>, Constable

public enum MatrixFont8x8 extends Enum<MatrixFont8x8> implements MatrixFont
Created by hansolo on 19.03.17.
  • Enum Constant Details

  • Field Details

    • ASCII_32_126

      public static final int[][] ASCII_32_126
  • Method Details

    • values

      public static MatrixFont8x8[] 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

      public static MatrixFont8x8 valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCharacterWidth

      public int getCharacterWidth()
      Specified by:
      getCharacterWidth in interface MatrixFont
    • getCharacterHeight

      public int getCharacterHeight()
      Specified by:
      getCharacterHeight in interface MatrixFont
    • getCharacter

      public int[] getCharacter(char CHAR)
      Specified by:
      getCharacter in interface MatrixFont