Class Glyph


  • public class Glyph
    extends java.lang.Object
    An individual glyph within a font.
    • Field Detail

      • leftSideBearing

        protected short leftSideBearing
      • advanceWidth

        protected int advanceWidth
    • Constructor Detail

    • Method Detail

      • getAdvanceWidth

        public int getAdvanceWidth()
      • getLeftSideBearing

        public short getLeftSideBearing()
      • getPoint

        public Point getPoint​(int i)
      • getPointCount

        public int getPointCount()
      • reset

        public void reset()
        Resets the glyph to the TrueType table settings
      • scale

        public void scale​(int factor)
        Parameters:
        factor - a 16.16 fixed value