public class SVGRoot extends Group
ShapeElement.StrokeCacheIndex
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 |
static java.lang.String |
TAG_NAME |
strokeCache, strokeWidthScalar
VECTOR_EFFECT_NON_SCALING_STROKE, VECTOR_EFFECT_NONE
childrenChangeCounter, 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.
|
java.awt.geom.Rectangle2D |
getBoundingBox()
Retrieves the cached bounding box of this group
|
float |
getDeviceHeight() |
java.awt.geom.Rectangle2D |
getDeviceRect(java.awt.geom.Rectangle2D rect) |
float |
getDeviceWidth() |
SVGRoot |
getRoot() |
java.awt.Shape |
getShape()
Retrieves the cached bounding box of this group
|
StyleSheet |
getStyleSheet() |
java.lang.String |
getTagName() |
java.awt.geom.AffineTransform |
getViewXform() |
void |
pick(java.awt.geom.Point2D point,
boolean boundingBox,
java.util.List retVec) |
void |
pick(java.awt.geom.Rectangle2D pickArea,
java.awt.geom.AffineTransform ltw,
boolean boundingBox,
java.util.List retVec) |
protected void |
prepareViewport() |
void |
render(java.awt.Graphics2D g) |
void |
setStyleSheet(StyleSheet styleSheet) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
calcBoundingBox, calcShape, loaderAddChild, outsideClip
includeStrokeInBounds, renderShape
beginLayer, finishLayer
boundsToParent, getTranform, getXForm, shapeToParent
addAttribute, addChild, addChildren, buildPath, getChild, getChild, getChildren, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getStyle, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, hasChildren, indexOfChild, lerp, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildren
public static final java.lang.String TAG_NAME
public 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 java.lang.String getTagName()
getTagName
in class Group
public void build() throws SVGException
SVGElement
build
in class RenderableElement
SVGException
public SVGRoot getRoot()
getRoot
in class SVGElement
protected void prepareViewport()
public void render(java.awt.Graphics2D g) throws SVGException
render
in class Group
SVGException
public void pick(java.awt.geom.Rectangle2D pickArea, java.awt.geom.AffineTransform ltw, boolean boundingBox, java.util.List retVec) throws SVGException
SVGException
public void pick(java.awt.geom.Point2D point, boolean boundingBox, java.util.List retVec) throws SVGException
SVGException
public java.awt.Shape getShape()
Group
public java.awt.geom.Rectangle2D getBoundingBox() throws SVGException
Group
getBoundingBox
in class Group
SVGException
public float getDeviceWidth()
public float getDeviceHeight()
public java.awt.geom.Rectangle2D getDeviceRect(java.awt.geom.Rectangle2D rect)
public boolean updateTime(double curTime) throws SVGException
updateTime
in class Group
SVGException
public StyleSheet getStyleSheet()
public void setStyleSheet(StyleSheet styleSheet)
styleSheet
- the styleSheet to setpublic java.awt.geom.AffineTransform getViewXform()