Class Glyph
java.lang.Object
dev.prozilla.pine.common.system.resource.text.Glyph
Represents a font glyph.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGlyph
(int width, int height, int x, int y, float advance) Creates a font Glyph. -
Method Summary
-
Field Details
-
width
public final int width -
height
public final int height -
x
public final int x -
y
public final int y -
advance
public final float advance
-
-
Constructor Details
-
Glyph
public Glyph(int width, int height, int x, int y, float advance) Creates a font Glyph.- Parameters:
width
- Width of the Glyphheight
- Height of the Glyphx
- X coordinate on the font texturey
- Y coordinate on the font textureadvance
- Advance width
-