public class SVGRoot extends Group
| Modifier and Type | Field and Description |
|---|---|
static int |
PA_X_MAX |
static int |
PA_X_MID |
static int |
PA_X_MIN |
static int |
PA_X_NONE |
static int |
PA_Y_MAX |
static int |
PA_Y_MID |
static int |
PA_Y_MIN |
static int |
PA_Y_NONE |
static int |
PS_MEET |
static int |
PS_SLICE |
strokeWidthScalarVECTOR_EFFECT_NON_SCALING_STROKE, VECTOR_EFFECT_NONEchildren, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase| Constructor and Description |
|---|
SVGRoot()
Creates a new instance of SVGRoot
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Called by internal processes to rebuild the geometry of this node
from it's presentation attributes, style attributes and animated tracks.
|
Rectangle2D |
getBoundingBox()
Retrieves the cached bounding box of this group
|
float |
getDeviceHeight() |
Rectangle2D |
getDeviceRect(Rectangle2D rect) |
float |
getDeviceWidth() |
Shape |
getShape()
Retrieves the cached bounding box of this group
|
protected void |
prepareViewport() |
void |
render(Graphics2D g) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
calcBoundingBox, calcShape, loaderAddChild, outsideClipincludeStrokeInBounds, renderShapebeginLayer, finishLayerboundsToParent, shapeToParentaddAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeChild, setAttribute, swapChildrenpublic static final int PA_X_NONE
public static final int PA_X_MIN
public static final int PA_X_MID
public static final int PA_X_MAX
public static final int PA_Y_NONE
public static final int PA_Y_MIN
public static final int PA_Y_MID
public static final int PA_Y_MAX
public static final int PS_MEET
public static final int PS_SLICE
public void build()
throws SVGException
SVGElementbuild in class RenderableElementSVGExceptionprotected void prepareViewport()
public void render(Graphics2D g) throws SVGException
render in class GroupSVGExceptionpublic Shape getShape()
Grouppublic Rectangle2D getBoundingBox() throws SVGException
GroupgetBoundingBox in class GroupSVGExceptionpublic float getDeviceWidth()
public float getDeviceHeight()
public Rectangle2D getDeviceRect(Rectangle2D rect)
public boolean updateTime(double curTime)
throws SVGException
updateTime in class GroupSVGException