Package org.apache.batik.svggen.font
Class Glyph
java.lang.Object
org.apache.batik.svggen.font.Glyph
An individual glyph within a font.
- Version:
- $Id: Glyph.java 1804130 2017-08-04 14:41:11Z ssteiner $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
leftSideBearing
protected short leftSideBearing -
advanceWidth
protected int advanceWidth -
points
-
-
Constructor Details
-
Glyph
-
-
Method Details
-
getAdvanceWidth
public int getAdvanceWidth() -
getLeftSideBearing
public short getLeftSideBearing() -
getPoint
-
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
-
describe
Set the points of a glyph from the GlyphDescription
-