public abstract class RenderableElement extends TransformableElement
| Modifier and Type | Field and Description |
|---|---|
static int |
VECTOR_EFFECT_NON_SCALING_STROKE |
static int |
VECTOR_EFFECT_NONE |
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase| Constructor and Description |
|---|
RenderableElement()
Creates a new instance of BoundedElement
|
RenderableElement(java.lang.String id,
SVGElement parent) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beginLayer(java.awt.Graphics2D g)
Pushes transform stack, transforms to local coordinates and sets up
clipping mask.
|
protected void |
build()
Called by internal processes to rebuild the geometry of this node from
it's presentation attributes, style attributes and animated tracks.
|
protected void |
finishLayer(java.awt.Graphics2D g)
Restores transform and clipping values to the way they were before this
layer was drawn.
|
abstract java.awt.geom.Rectangle2D |
getBoundingBox() |
abstract void |
render(java.awt.Graphics2D g) |
boundsToParent, getXForm, shapeToParent, updateTimeaddAttribute, 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 static final int VECTOR_EFFECT_NONE
public static final int VECTOR_EFFECT_NON_SCALING_STROKE
public RenderableElement()
public RenderableElement(java.lang.String id,
SVGElement parent)
protected void build()
throws SVGException
SVGElementbuild in class TransformableElementSVGExceptionpublic abstract void render(java.awt.Graphics2D g)
throws SVGException
SVGExceptionpublic abstract java.awt.geom.Rectangle2D getBoundingBox()
throws SVGException
SVGExceptionprotected void beginLayer(java.awt.Graphics2D g)
throws SVGException
SVGExceptionprotected void finishLayer(java.awt.Graphics2D g)