Class TLspTextureFont.GlyphInfo

java.lang.Object
com.luciad.view.lightspeed.util.opengl.texturefont.TLspTextureFont.GlyphInfo
Enclosing class:
TLspTextureFont

public static final class TLspTextureFont.GlyphInfo extends Object
This class contains information about a glyph.
Since:
2012.0
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    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
    Returns the width of the glyph.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 minus getPadding().
      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 minus getPadding().
      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.