Package org.apache.batik.svggen.font
Class Glyph
- java.lang.Object
-
- org.apache.batik.svggen.font.Glyph
-
public class Glyph extends java.lang.ObjectAn individual glyph within a font.
-
-
Field Summary
Fields Modifier and Type Field Description protected intadvanceWidthprotected shortleftSideBearing
-
Constructor Summary
Constructors Constructor Description Glyph(GlyphDescription gd, short lsb, int advance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAdvanceWidth()shortgetLeftSideBearing()PointgetPoint(int i)intgetPointCount()voidreset()Resets the glyph to the TrueType table settingsvoidscale(int factor)
-
-
-
Constructor Detail
-
Glyph
public Glyph(GlyphDescription gd, short lsb, int advance)
-
-
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
-
-