public class Line extends ShapeElement
| Modifier and Type | Field and Description |
|---|---|
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 |
|---|
Line()
Creates a new instance of Rect
|
| Modifier and Type | Method and Description |
|---|---|
protected 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() |
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, renderShapebeginLayer, finishLayerboundsToParent, getXForm, shapeToParentaddAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, getStyle, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, lerp, loaderAddChild, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildrenpublic static final java.lang.String TAG_NAME
public java.lang.String getTagName()
getTagName in class SVGElementprotected void build()
throws SVGException
SVGElementbuild in class RenderableElementSVGExceptionpublic void render(java.awt.Graphics2D g)
throws SVGException
render in class ShapeElementSVGExceptionpublic java.awt.Shape getShape()
getShape in class ShapeElementpublic java.awt.geom.Rectangle2D getBoundingBox()
throws SVGException
getBoundingBox in class RenderableElementSVGExceptionpublic boolean updateTime(double curTime)
throws SVGException
updateTime in class TransformableElementSVGException