Interface Font.Glyph

  • Enclosing interface:
    Font

    public static interface Font.Glyph
    Glyph for font http://developer.apple.com/textfonts/TTRefMan/RM06/Chap6cmap.html http://developer.apple.com/textfonts/TTRefMan/RM06/Chap6glyf.html http://www.microsoft.com/typography/otspec/glyf.htm
    • Method Detail

      • getFont

        Font getFont()
      • getSymbol

        char getSymbol()
      • getID

        short getID()
      • getScale

        float getScale​(float pixelSize)
        Parameters:
        pixelSize - Use pointSize * resolution for resolution correct pixel-size, see Font.getPixelSize(float, float)
        Returns:
      • getBBox

        AABBox getBBox​(AABBox dest,
                       float pixelSize,
                       float[] tmpV3)
        Parameters:
        dest - AABBox instance set to this metrics boundary w/ given pixelSize
        pixelSize - Use pointSize * resolution for resolution correct pixel-size, see Font.getPixelSize(float, float)
        tmpV3 - caller provided temporary 3-component vector
        Returns:
        the given and set AABBox 'dest'
      • getAdvance

        float getAdvance​(float pixelSize,
                         boolean useFrationalMetrics)
        Parameters:
        pixelSize - Use pointSize * resolution for resolution correct pixel-size, see Font.getPixelSize(float, float)
        useFrationalMetrics -
        Returns: