|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tinyline.svg.SVGNode
com.tinyline.svg.SVGGlyphElem
The SVGGlyphElem class implements the 'glyph' element.
The 'glyph' element defines the graphics for a given glyph. The coordinate system for the glyph is defined by the various attributes in the 'font' element.
Fonts consist of a collection of glyphs and other associated information. Each SVGGlyphElem consists of an identifier (unicode char) along with drawing instructions (path) for rendering that particular glyph. The horizAdvX is a metric which is used to describe how the glyph must be placed and managed when rendering text.
| Field Summary | |
TinyGlyph |
tglyph
The glyph outline. |
| Fields inherited from class com.tinyline.svg.SVGNode |
animatedVals, bounds, children, color, display, fill, fillOpacity, fillRule, fontFamily, fontSize, fontStyle, fontWeight, helem, id, opacity, outlined, ownerDocument, parent, stopColor, stopOpacity, stroke, strokeDashArray, strokeDashOffset, strokeLineCap, strokeLineJoin, strokeMiterLimit, strokeOpacity, strokeWidth, textAnchor, transform, visibility, xmlSpace |
| Constructor Summary | |
SVGGlyphElem(SVGGlyphElem src)
Creates a copy of the given SVGGlyphElem object. |
|
| Method Summary | |
SVGNode |
copyNode()
Constructs a copy of the given node. |
int |
createOutline()
Creates an outline of this node. |
java.lang.Object |
getAttribute(int hattr)
Returns the value object for the given attribute, or null object otherwise. |
void |
paint(SVGRaster renderer)
Draws this node. |
int |
setAttribute(int hattr,
java.lang.Object value)
Assigns or modifies the value of the specified attribute. |
| Methods inherited from class com.tinyline.svg.SVGNode |
addChild, contains, getBounds, getCapStyle, getCurrentColor, getDashArray, getDashOffset, getDevBounds, getDisplay, getFillColor, getFillOpacity, getFillRule, getFontFamily, getFontSize, getGlobalTransform, getJoinStyle, getLineThickness, getMiterLimit, getNodeById, getOpacity, getStopColor, getStopOpacity, getStrokeColor, getStrokeOpacity, getTextAnchor, getVisibility, intersects, isDisplay, isVisible, matchUserAgent, nodeHitAt, removeChild, resolveColor, seekAElem |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public TinyGlyph tglyph
| Constructor Detail |
public SVGGlyphElem(SVGGlyphElem src)
| Method Detail |
public int setAttribute(int hattr,
java.lang.Object value)
throws java.lang.Exception
setAttribute in class SVGNodehattr - The attribute handle.value - The value of the attribute.
java.lang.Exception - if the value type doesn not match to the attribute handle.public java.lang.Object getAttribute(int hattr)
null object otherwise.
getAttribute in class SVGNodehattr - The attribute handle.
public SVGNode copyNode()
copyNode in class SVGNodepublic void paint(SVGRaster renderer)
paint in class SVGNoderenderer - The SVGRaster object that does the drawing.public int createOutline()
createOutline in class SVGNode
|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||