public class Polyline extends ShapeElement
strokeWidthScalarVECTOR_EFFECT_NON_SCALING_STROKE, VECTOR_EFFECT_NONEchildren, 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() |
Rectangle2D |
getBoundingBox() |
Shape |
getShape() |
void |
render(Graphics2D g) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
includeStrokeInBounds, renderShapebeginLayer, finishLayerboundsToParent, shapeToParentaddAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, loaderAddChild, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeChild, setAttribute, swapChildrenpublic void build()
throws SVGException
SVGElementbuild in class RenderableElementSVGExceptionprotected void buildPath()
public void render(Graphics2D g) throws SVGException
render in class ShapeElementSVGExceptionpublic Shape getShape()
getShape in class ShapeElementpublic Rectangle2D getBoundingBox() throws SVGException
getBoundingBox in class RenderableElementSVGExceptionpublic boolean updateTime(double curTime)
throws SVGException
updateTime in class TransformableElementSVGException