Class GUIFontType.FontChar
java.lang.Object
com.blackrook.gui.GUIFontType.FontChar
- Enclosing interface:
GUIFontType
Single character entry for the font, which is essentially a lookup
of these things.
- Author:
- Matthew Tropiano
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatAdvancement of char in relation to overall size (1.0 is equal to fontsize).charFont character.floatHeight of char in relation to overall size (1.0 is equal to fontsize).floatTexture location s start.floatTexture location s end.floatTexture location t start.floatTexture location t end.floatWidth of char in relation to overall size (1.0 is equal to fontsize).floatX offset of character in relation to overall size (1.0 is equal to fontsize).floatY offset of character in relation to overall size (1.0 is equal to fontsize). -
Constructor Summary
ConstructorsConstructorDescriptionFontChar(char c, float s0, float t0, float s1, float t1, float w, float h, float advance, float xofs, float yofs) -
Method Summary
-
Field Details
-
c
public char cFont character. -
s0
public float s0Texture location s start. -
t0
public float t0Texture location t start. -
s1
public float s1Texture location s end. -
t1
public float t1Texture location t end. -
width
public float widthWidth of char in relation to overall size (1.0 is equal to fontsize). -
height
public float heightHeight of char in relation to overall size (1.0 is equal to fontsize). -
advance
public float advanceAdvancement of char in relation to overall size (1.0 is equal to fontsize). -
xofs
public float xofsX offset of character in relation to overall size (1.0 is equal to fontsize). -
yofs
public float yofsY 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
-
toString
-