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 |
static java.lang.String |
TAG_NAME |
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.
|
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() |
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 |
renderToViewport(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, renderincludeStrokeInBounds, renderShapebeginLayer, finishLayerboundsToParent, getXForm, shapeToParentaddAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getStyle, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, lerp, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildrenpublic 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 Grouppublic void build()
throws SVGException
SVGElementbuild in class RenderableElementSVGExceptionpublic SVGRoot getRoot()
getRoot in class SVGElementprotected void prepareViewport()
public void renderToViewport(java.awt.Graphics2D g)
throws SVGException
SVGExceptionpublic void pick(java.awt.geom.Rectangle2D pickArea,
java.awt.geom.AffineTransform ltw,
boolean boundingBox,
java.util.List retVec)
throws SVGException
SVGExceptionpublic void pick(java.awt.geom.Point2D point,
boolean boundingBox,
java.util.List retVec)
throws SVGException
SVGExceptionpublic java.awt.Shape getShape()
Grouppublic java.awt.geom.Rectangle2D getBoundingBox()
throws SVGException
GroupgetBoundingBox in class GroupSVGExceptionpublic 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 GroupSVGExceptionpublic StyleSheet getStyleSheet()
public void setStyleSheet(StyleSheet styleSheet)
styleSheet - the styleSheet to set