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 String |
TAG_NAME |
strokeWidthScalar
VECTOR_EFFECT_NON_SCALING_STROKE, VECTOR_EFFECT_NONE
children, 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() |
SVGRoot |
getRoot() |
Shape |
getShape()
Retrieves the cached bounding box of this group
|
StyleSheet |
getStyleSheet() |
String |
getTagName() |
void |
pick(Point2D point,
boolean boundingBox,
List retVec) |
void |
pick(Rectangle2D pickArea,
AffineTransform ltw,
boolean boundingBox,
List retVec) |
protected void |
prepareViewport() |
void |
renderToViewport(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, render
includeStrokeInBounds, renderShape
beginLayer, finishLayer
boundsToParent, getXForm, shapeToParent
addAttribute, 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, swapChildren
public static final 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 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 renderToViewport(Graphics2D g) throws SVGException
SVGException
public void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List retVec) throws SVGException
SVGException
public void pick(Point2D point, boolean boundingBox, List retVec) throws SVGException
SVGException
public Shape getShape()
Group
public Rectangle2D getBoundingBox() throws SVGException
Group
getBoundingBox
in class Group
SVGException
public float getDeviceWidth()
public float getDeviceHeight()
public Rectangle2D getDeviceRect(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 set