public class Polyline extends ShapeElement
ShapeElement.StrokeCacheIndex
Modifier and Type | Field and Description |
---|---|
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 |
---|
Polyline()
Creates a new instance of Rect
|
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.
|
protected void |
buildPath() |
java.awt.geom.Rectangle2D |
getBoundingBox() |
java.awt.Shape |
getShape() |
java.lang.String |
getTagName() |
void |
render(java.awt.Graphics2D g) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
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, getRoot, getStyle, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, hasChildren, indexOfChild, lerp, loaderAddChild, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildren
public static final java.lang.String TAG_NAME
public java.lang.String getTagName()
getTagName
in class SVGElement
public void build() throws SVGException
SVGElement
build
in class RenderableElement
SVGException
protected void buildPath()
public void render(java.awt.Graphics2D g) throws SVGException
render
in class ShapeElement
SVGException
public java.awt.Shape getShape()
getShape
in class ShapeElement
public java.awt.geom.Rectangle2D getBoundingBox() throws SVGException
getBoundingBox
in class RenderableElement
SVGException
public boolean updateTime(double curTime) throws SVGException
updateTime
in class TransformableElement
SVGException