com.kitfox.svg
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(String id,
SVGElement parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
beginLayer(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(Graphics2D g)
Restores transform and clipping values to the way they were before
this layer was drawn.
|
abstract Rectangle2D |
getBoundingBox() |
abstract void |
render(Graphics2D g) |
boundsToParent, shapeToParent, updateTime
addAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, loaderAddChild, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeChild, setAttribute, swapChildren
public static final int VECTOR_EFFECT_NONE
public static final int VECTOR_EFFECT_NON_SCALING_STROKE
public RenderableElement()
public RenderableElement(String id, SVGElement parent)
protected void build() throws SVGException
SVGElement
build
in class TransformableElement
SVGException
public abstract void render(Graphics2D g) throws SVGException
SVGException
public abstract Rectangle2D getBoundingBox() throws SVGException
SVGException
protected void beginLayer(Graphics2D g) throws SVGException
SVGException
protected void finishLayer(Graphics2D g)