public class Group extends ShapeElement
Modifier and Type | Field and Description |
---|---|
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 |
---|
Group()
Creates a new instance of Stop
|
Modifier and Type | Method and Description |
---|---|
void |
calcBoundingBox()
Recalculates the bounding box by taking the union of the bounding boxes
of all children.
|
void |
calcShape() |
Rectangle2D |
getBoundingBox()
Retrieves the cached bounding box of this group
|
Shape |
getShape()
Retrieves the cached bounding box of this group
|
String |
getTagName() |
void |
loaderAddChild(SVGLoaderHelper helper,
SVGElement child)
Called after the start element but before the end element to indicate
each child tag that has been processed
|
protected boolean |
outsideClip(Graphics2D g) |
void |
render(Graphics2D g) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
includeStrokeInBounds, renderShape
beginLayer, build, finishLayer
boundsToParent, getXForm, shapeToParent
addAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, 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 Group()
public String getTagName()
getTagName
in class SVGElement
public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
loaderAddChild
in class SVGElement
SVGElementException
protected boolean outsideClip(Graphics2D g) throws SVGException
SVGException
public void render(Graphics2D g) throws SVGException
render
in class ShapeElement
SVGException
public Shape getShape()
getShape
in class ShapeElement
public void calcShape()
public Rectangle2D getBoundingBox() throws SVGException
getBoundingBox
in class RenderableElement
SVGException
public void calcBoundingBox() throws SVGException
SVGException
public boolean updateTime(double curTime) throws SVGException
TransformableElement
updateTime
in class TransformableElement
SVGException
Copyright ?? 2011-2015 Kitfox Studios. All Rights Reserved.