Class GUIFontType.FontChar

java.lang.Object
com.blackrook.gui.GUIFontType.FontChar
Enclosing interface:
GUIFontType

public static class GUIFontType.FontChar extends Object
Single character entry for the font, which is essentially a lookup of these things.
Author:
Matthew Tropiano
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    float
    Advancement of char in relation to overall size (1.0 is equal to fontsize).
    char
    Font character.
    float
    Height of char in relation to overall size (1.0 is equal to fontsize).
    float
    Texture location s start.
    float
    Texture location s end.
    float
    Texture location t start.
    float
    Texture location t end.
    float
    Width of char in relation to overall size (1.0 is equal to fontsize).
    float
    X offset of character in relation to overall size (1.0 is equal to fontsize).
    float
    Y offset of character in relation to overall size (1.0 is equal to fontsize).
  • Constructor Summary

    Constructors
    Constructor
    Description
    FontChar(char c, float s0, float t0, float s1, float t1, float w, float h, float advance, float xofs, float yofs)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • c

      public char c
      Font character.
    • s0

      public float s0
      Texture location s start.
    • t0

      public float t0
      Texture location t start.
    • s1

      public float s1
      Texture location s end.
    • t1

      public float t1
      Texture location t end.
    • width

      public float width
      Width of char in relation to overall size (1.0 is equal to fontsize).
    • height

      public float height
      Height of char in relation to overall size (1.0 is equal to fontsize).
    • advance

      public float advance
      Advancement of char in relation to overall size (1.0 is equal to fontsize).
    • xofs

      public float xofs
      X offset of character in relation to overall size (1.0 is equal to fontsize).
    • yofs

      public float yofs
      Y offset of character in relation to overall size (1.0 is equal to fontsize).
  • Constructor Details

    • FontChar

      public FontChar(char c, float s0, float t0, float s1, float t1, float w, float h, float advance, float xofs, float yofs)
  • Method Details