Class TLspTextureFont.GlyphInfo
java.lang.Object
com.luciad.view.lightspeed.util.opengl.texturefont.TLspTextureFont.GlyphInfo
- Enclosing class:
TLspTextureFont
This class contains information about a glyph.
- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Returns the height of this glyph.float
Returns the padding around the character in the glyph.float
Returns the height of the texture coordinates of this glyph.float
Returns the width of the texture coordinates of this glyph.float
Returns the x part of the lower left texture coordinate of this glyph.float
Returns the y part of the lower left texture coordinate of this glyph.float
getWidth()
Returns the width of the glyph.
-
Method Details
-
getWidth
public float getWidth()Returns the width of the glyph. This width is usually larger than the character itself. The width of the character itself is this width minusgetPadding()
.- Returns:
- the width of the glyph.
-
getHeight
public float getHeight()Returns the height of this glyph. This height is usually larger than the character itself. The height of the character itself is this height minusgetPadding()
.- Returns:
- the height of this glyph.
-
getTexCoX
public float getTexCoX()Returns the x part of the lower left texture coordinate of this glyph.- Returns:
- the x part of the lower left texture coordinate of this glyph.
-
getTexCoY
public float getTexCoY()Returns the y part of the lower left texture coordinate of this glyph.- Returns:
- the y part of the lower left texture coordinate of this glyph.
-
getTexCoW
public float getTexCoW()Returns the width of the texture coordinates of this glyph.- Returns:
- the width of the texture coordinates of this glyph.
-
getTexCoH
public float getTexCoH()Returns the height of the texture coordinates of this glyph.- Returns:
- the height of the texture coordinates of this glyph.
-
getPadding
public float getPadding()Returns the padding around the character in the glyph.- Returns:
- the padding around the character in the glyph.
-