|
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
com.tinyline.svg.SVGUseElem
The SVGUseElem class implements the 'use' element.
The 'use' element references another element and indicates that the graphical contents of that element is included/drawn at that given point in the document.
Unlike 'image', the 'use' element cannot reference entire files. The 'use' element has optional attributes x, y, width and height which are used to map the graphical contents of the referenced element onto a rectangular region within the current coordinate system.
| Field Summary | |
int |
height
The height of the use rectangle |
int |
width
The width of the use rectangle |
int |
x
The top left x-axis coordinate of the use rectangle. |
int |
y
The top left y-axis coordinate of the use rectangle. |
| Fields inherited from class com.tinyline.svg.SVGGroupElem |
showBounds, xlink_href |
| 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 | |
SVGUseElem(SVGUseElem src)
Constructs a copy of the given SVGUseElem node. |
|
| 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. |
int |
setAttribute(int hattr,
java.lang.Object value)
Assigns or modifies the value of the specified attribute. |
| Methods inherited from class com.tinyline.svg.SVGGroupElem |
getDevBounds, nodeHitAt, paint |
| 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 int x
public int y
public int width
public int height
| Constructor Detail |
public SVGUseElem(SVGUseElem src)
| Method Detail |
public SVGNode copyNode()
copyNode in class SVGGroupElem
public int setAttribute(int hattr,
java.lang.Object value)
throws java.lang.Exception
setAttribute in class SVGGroupElemhattr - 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 SVGGroupElemhattr - The attribute handle.
public int createOutline()
createOutline in class SVGGroupElem
|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||