public class Tspan extends ShapeElement
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_NAME |
strokeWidthScalarVECTOR_EFFECT_NON_SCALING_STROKE, VECTOR_EFFECT_NONEchildren, cssClass, diagram, id, 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 |
appendToShape(GeneralPath addShape,
Point2D cursor) |
protected void |
build()
Called by internal processes to rebuild the geometry of this node from
it's presentation attributes, style attributes and animated tracks.
|
Rectangle2D |
getBoundingBox() |
Shape |
getShape() |
String |
getTagName() |
String |
getText() |
void |
loaderAddText(SVGLoaderHelper helper,
String text)
Called during load process to add text scanned within a tag
|
void |
render(Graphics2D g) |
protected void |
renderSysFont(Graphics2D g,
Font font) |
void |
setText(String text) |
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, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildrenpublic static final String TAG_NAME
public String getTagName()
getTagName in class SVGElementpublic void loaderAddText(SVGLoaderHelper helper, String text)
loaderAddText in class SVGElementprotected void build()
throws SVGException
SVGElementbuild in class RenderableElementSVGExceptionpublic void appendToShape(GeneralPath addShape, Point2D cursor) throws SVGException
SVGExceptionpublic void render(Graphics2D g) throws SVGException
render in class ShapeElementSVGExceptionprotected void renderSysFont(Graphics2D g, Font font) throws SVGException
SVGExceptionpublic Shape getShape()
getShape in class ShapeElementpublic Rectangle2D getBoundingBox()
getBoundingBox in class RenderableElementpublic boolean updateTime(double curTime)
throws SVGException
updateTime in class TransformableElementSVGExceptionpublic String getText()
public void setText(String text)
Copyright © 2020. All rights reserved.