org.freehep.graphicsio.svg
Class SVGGlyph
java.lang.Object
org.freehep.graphicsio.svg.SVGGlyph
public class SVGGlyph
- extends Object
Class for embedding a Font in a SVG file.
- Version:
- $Id: SVGGlyph.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- Steffen Greiffenberg
FONT_SIZE
public static int FONT_SIZE
UNITS_PER_EM
public static int UNITS_PER_EM
SVGGlyph
public SVGGlyph(Shape glyph,
int unicode,
GlyphMetrics glyphMetrics)
- stores the glyph data
- Parameters:
unicode
- glyph
-
toString
public String toString()
- Overrides:
toString
in class Object
getPathString
protected String getPathString()
- Returns:
- SVG path tag using SVGGraphics2D and defaultTransform
getHorizontalAdvanceXString
public String getHorizontalAdvanceXString()
- Returns:
- SVG tag horiz-adv-x
getHorizontalAdvanceYString
public String getHorizontalAdvanceYString()
- Returns:
- SVG tag horiz-adv-y
Copyright © 2012. All Rights Reserved.