org.apache.batik.svggen.font
Class Glyph
java.lang.Object
org.apache.batik.svggen.font.Glyph
- public class Glyph
- extends java.lang.Object
An individual glyph within a font.
- Version:
- $Id: Glyph.java,v 1.3 2003/08/08 11:39:22 vhardy Exp $
- Author:
- David Schweinsberg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
leftSideBearing
protected short leftSideBearing
advanceWidth
protected int advanceWidth
Glyph
public Glyph(GlyphDescription gd,
short lsb,
int advance)
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
<oXygen/>
XML Editor
uses Batik from the Apache Foundation
to provide support for previewing SVG documents.
See the SVG Editor section
for more info.