public abstract class TransformableElement extends SVGElement
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase| Constructor and Description |
|---|
TransformableElement()
Creates a new instance of BoundedElement
|
TransformableElement(String id,
SVGElement parent) |
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle2D |
boundsToParent(Rectangle2D rect) |
protected void |
build()
Called by internal processes to rebuild the geometry of this node from
it's presentation attributes, style attributes and animated tracks.
|
AffineTransform |
getXForm()
Fetches a copy of the cached AffineTransform.
|
protected Shape |
shapeToParent(Shape shape) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
addAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, getStyle, getStyle, getStyle, getStyleAbsolute, getTagName, getXMLBase, hasAttribute, indexOfChild, lerp, loaderAddChild, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildrenpublic TransformableElement()
public TransformableElement(String id, SVGElement parent)
public AffineTransform getXForm()
protected void build()
throws SVGException
SVGElementbuild in class SVGElementSVGExceptionprotected Rectangle2D boundsToParent(Rectangle2D rect)
public boolean updateTime(double curTime)
throws SVGException
updateTime in class SVGElementSVGExceptionCopyright © 2019. All rights reserved.