|
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.SVGGroupElem
The SVGGroupElem class implements the container element.
The container element is an element which can have graphics elements and other container elements as child elements. Specifically: 'g', 'defs', 'a' and 'switch'.
| Field Summary | |
boolean |
showBounds
Need to show border? |
TinyString |
xlink_href
The hyperlink of this node. |
| 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 | |
SVGGroupElem(SVGGroupElem src)
Creates a copy of the given SVGGroupElem 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. |
TinyRect |
getDevBounds(SVGRaster renderer)
Returns the device bounds of this SVGGroupElem node. |
SVGNode |
nodeHitAt(SVGRaster renderer,
TinyPoint p)
Returns the SVGNode node containing TinyPoint p. |
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, getDisplay, getFillColor, getFillOpacity, getFillRule, getFontFamily, getFontSize, getGlobalTransform, getJoinStyle, getLineThickness, getMiterLimit, getNodeById, getOpacity, getStopColor, getStopOpacity, getStrokeColor, getStrokeOpacity, getTextAnchor, getVisibility, intersects, isDisplay, isVisible, matchUserAgent, removeChild, resolveColor, seekAElem |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public TinyString xlink_href
public boolean showBounds
| Constructor Detail |
public SVGGroupElem(SVGGroupElem src)
| Method Detail |
public SVGNode copyNode()
copyNode in class SVGNode
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 int createOutline()
createOutline in class SVGNodepublic void paint(SVGRaster renderer)
paint in class SVGNoderenderer - The SVGRaster object
that does the drawing.
public SVGNode nodeHitAt(SVGRaster renderer,
TinyPoint p)
nodeHitAt in class SVGNodep - the specified TinyPoint in DEVICE SPACEpublic TinyRect getDevBounds(SVGRaster renderer)
getDevBounds in class SVGNoderenderer - The SVGRaster object.
COORDINATES ARE IN DEVICE SPACE.
|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||