public final class ImFontGlyph
extends java.lang.Object
Constructor and Description |
---|
ImFontGlyph()
This class will create a native structure.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
float |
getAdvanceX()
Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in)
|
int |
getCodepoint()
0x0000..0xFFFF
|
float |
getU0()
Texture coordinates
|
float |
getU1()
Texture coordinates
|
float |
getV0()
Texture coordinates
|
float |
getV1()
Texture coordinates
|
int |
getVisible()
Flag to allow early out when rendering
|
float |
getX0()
Glyph corners
|
float |
getX1()
Glyph corners
|
float |
getY0()
Glyph corners
|
float |
getY1()
Glyph corners
|
void |
setAdvanceX(float advanceX)
Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in)
|
void |
setCodepoint(int codepoint)
0x0000..0xFFFF
|
void |
setU0(float u0)
Texture coordinates
|
void |
setU1(float u1)
Texture coordinates
|
void |
setV0(float v0)
Texture coordinates
|
void |
setV1(float v1)
Texture coordinates
|
void |
setVisible(int visible)
Flag to allow early out when rendering
|
void |
setX0(float x0)
Glyph corners
|
void |
setX1(float x1)
Glyph corners
|
void |
setY0(float y0)
Glyph corners
|
void |
setY1(float y1)
Glyph corners
|
public ImFontGlyph()
destroy()
method to manually free used memory.public void destroy()
public int getCodepoint()
public void setCodepoint(int codepoint)
public int getVisible()
public void setVisible(int visible)
public float getAdvanceX()
public void setAdvanceX(float advanceX)
public float getX0()
public void setX0(float x0)
public float getY0()
public void setY0(float y0)
public float getX1()
public void setX1(float x1)
public float getY1()
public void setY1(float y1)
public float getU0()
public void setU0(float u0)
public float getV0()
public void setV0(float v0)
public float getU1()
public void setU1(float u1)
public float getV1()
public void setV1(float v1)