public class Tspan extends ShapeElement
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 |
---|
Tspan()
Creates a new instance of Stop
|
Modifier and Type | Method and Description |
---|---|
void |
addShape(java.awt.geom.GeneralPath addShape) |
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() |
float |
getCursorX() |
float |
getCursorY() |
java.awt.Shape |
getShape() |
java.lang.String |
getText() |
void |
loaderAddText(SVGLoaderHelper helper,
java.lang.String text)
Called during load process to add text scanned within a tag
|
void |
render(java.awt.Graphics2D g) |
protected void |
renderSysFont(java.awt.Graphics2D g,
java.awt.Font font) |
void |
setCursorX(float cursorX) |
void |
setCursorY(float cursorY) |
void |
setText(java.lang.String text) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
includeStrokeInBounds, renderShape
beginLayer, finishLayer
boundsToParent, shapeToParent
addAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, loaderAddChild, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeChild, setAttribute, swapChildren
public float getCursorX()
public float getCursorY()
public void setCursorX(float cursorX)
public void setCursorY(float cursorY)
public void loaderAddText(SVGLoaderHelper helper, java.lang.String text)
loaderAddText
in class SVGElement
protected void build() throws SVGException
SVGElement
build
in class RenderableElement
SVGException
public void addShape(java.awt.geom.GeneralPath addShape) throws SVGException
SVGException
public void render(java.awt.Graphics2D g) throws SVGException
render
in class ShapeElement
SVGException
protected void renderSysFont(java.awt.Graphics2D g, java.awt.Font font) throws SVGException
SVGException
public java.awt.Shape getShape()
getShape
in class ShapeElement
public java.awt.geom.Rectangle2D getBoundingBox()
getBoundingBox
in class RenderableElement
public boolean updateTime(double curTime) throws SVGException
updateTime
in class TransformableElement
SVGException
public java.lang.String getText()
public void setText(java.lang.String text)