public class Text extends ShapeElement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME |
static int |
TXAN_END |
static int |
TXAN_MIDDLE |
static int |
TXAN_START |
static int |
TXST_ITALIC |
static int |
TXST_NORMAL |
static int |
TXST_OBLIQUE |
static int |
TXWE_100 |
static int |
TXWE_200 |
static int |
TXWE_300 |
static int |
TXWE_400 |
static int |
TXWE_500 |
static int |
TXWE_600 |
static int |
TXWE_700 |
static int |
TXWE_800 |
static int |
TXWE_900 |
static int |
TXWE_BOLD |
static int |
TXWE_BOLDER |
static int |
TXWE_LIGHTER |
static int |
TXWE_NORMAL |
strokeWidthScalarVECTOR_EFFECT_NON_SCALING_STROKE, VECTOR_EFFECT_NONEchildren, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase| Constructor and Description |
|---|
Text()
Creates a new instance of Stop
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendText(java.lang.String text) |
void |
appendTspan(Tspan tspan) |
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 |
buildText() |
java.awt.geom.Rectangle2D |
getBoundingBox() |
java.util.List |
getContent() |
java.awt.Shape |
getShape() |
java.lang.String |
getTagName() |
void |
loaderAddChild(SVGLoaderHelper helper,
SVGElement child)
Called after the start element but before the end element to indicate
each child tag that has been processed
|
void |
loaderAddText(SVGLoaderHelper helper,
java.lang.String text)
Called during load process to add text scanned within a tag
|
void |
rebuild()
Discard cached information
|
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, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildrenpublic static final java.lang.String TAG_NAME
public static final int TXAN_START
public static final int TXAN_MIDDLE
public static final int TXAN_END
public static final int TXST_NORMAL
public static final int TXST_ITALIC
public static final int TXST_OBLIQUE
public static final int TXWE_NORMAL
public static final int TXWE_BOLD
public static final int TXWE_BOLDER
public static final int TXWE_LIGHTER
public static final int TXWE_100
public static final int TXWE_200
public static final int TXWE_300
public static final int TXWE_400
public static final int TXWE_500
public static final int TXWE_600
public static final int TXWE_700
public static final int TXWE_800
public static final int TXWE_900
public java.lang.String getTagName()
getTagName in class SVGElementpublic void appendText(java.lang.String text)
public void appendTspan(Tspan tspan) throws SVGElementException
SVGElementExceptionpublic void rebuild()
throws SVGException
SVGExceptionpublic java.util.List getContent()
public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
loaderAddChild in class SVGElementSVGElementExceptionpublic void loaderAddText(SVGLoaderHelper helper, java.lang.String text)
loaderAddText in class SVGElementpublic void build()
throws SVGException
SVGElementbuild in class RenderableElementSVGExceptionprotected void buildText()
throws SVGException
SVGExceptionpublic 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