public class SvgText extends AbstractSvgNode implements SvgNode
XMLContainerImpl.sMode
mContentAndSubtagList
Constructor and Description |
---|
SvgText() |
SvgText(String inText) |
SvgText(String inText,
Font inFont,
Point2D inLocation) |
SvgText(XMLTag inXMLTag) |
Modifier and Type | Method and Description |
---|---|
SvgText |
addStyle(String inValue) |
SvgTSpan |
addTSpan() |
SvgTSpan |
addTSpan(CharSequence inTitle) |
void |
draw(Graphics2D g2) |
Rectangle |
getBoundsBox() |
String |
getDx() |
String |
getDy() |
int |
getHeight() |
int |
getWidth() |
Float |
getX() |
Float |
getY() |
SvgText |
setAttribute(String inName,
Object inValue) |
SvgText |
setClass(String inValue) |
SvgText |
setDx(String inValue)
Sets a relative (delta) X coordinate adjustment to the text position.
|
SvgText |
setDy(String inValue)
Sets a relative (delta) Y coordinate adjustment to the text position.
|
SvgText |
setFill(Color inColor) |
SvgText |
setFilter(String inValue) |
SvgText |
setFont(Font inValue) |
SvgText |
setId(String inValue) |
SvgText |
setStyle(String inValue) |
SvgText |
setTitle(String inValue) |
SvgText |
setTransform(String inValue) |
SvgText |
setX(float inValue) |
SvgText |
setX(int inValue) |
SvgText |
setY(float inValue) |
SvgText |
setY(int inValue) |
addClass, adjustBoundsForTransform, applyTransform, applyTransforms, drawSubnodes, getAdjustedFont, getCenterPoint, getClassAttribute, getCssTransform, getG2Composite, getG2Paint, getG2Stroke, getG2StrokeColor, getTransform, initFromXMLTag, rangeCheckOpacityValue, setOnClick, setOnMouseDown, setOnMouseOut, setOnMouseOver, setOnMouseUp, setPosition
addSubtag, addSubtag, addXMLNamespaceDeclaration, clone, compareTo, equals, findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getEndTag, getNamespace, getQualifiedTagName, getStartTag, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttribute, setAttributes, setContent, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, toString, toXML, toXML, toXML, toXML, useDoubleQuotes, verifyTagName, verifyTagName, verifyTagName, verifyTagName
addContent, addContentWithoutEscaping, addSubtag, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getContentPlusSubtagList, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagById, getRequiredSubtagById, getRequiredSubtagByName, getRequiredSubtagByName, getSubtagByAttribute, getSubtagByAttribute, getSubtags, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByClass, getSubtagsByClass, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, hasContentOrSubtags, indexOf, innerHTML, removeSubtag, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByClass, removeSubtagsByClass, removeSubtagsByName, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtags
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCenterPoint, getTransform, setPosition
findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getNamespace, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttribute, setAttributes, setNamespace, setTagName, setTagName, toIndentedXML, verifyTagName, verifyTagName, verifyTagName, verifyTagName
addContent, addContentWithoutEscaping, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagByName, getRequiredSubtagByName, getSubtags, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, indexOf, removeSubtag, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtags
clone, toIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXML
public SvgText()
public SvgText setDx(String inValue)
inValue
- a relative X coordinate adjustment to the text positionpublic SvgText setDy(String inValue)
inValue
- a relative Y coordinate adjustment to the text positionpublic int getWidth()
public int getHeight()
public SvgText setFilter(String inValue)
setFilter
in class AbstractSvgNode
public SvgText setTitle(String inValue)
setTitle
in class AbstractSvgNode
public SvgText setClass(String inValue)
setClass
in class AbstractSvgNode
public SvgText setId(String inValue)
setId
in class AbstractSvgNode
public SvgText addStyle(String inValue)
addStyle
in interface SvgNode
addStyle
in class AbstractSvgNode
public SvgText setStyle(String inValue)
setStyle
in class AbstractSvgNode
public SvgText setTransform(String inValue)
setTransform
in interface SvgNode
setTransform
in class AbstractSvgNode
public SvgText setAttribute(String inName, Object inValue)
setAttribute
in interface XMLNode
setAttribute
in class XMLTag
public SvgTSpan addTSpan(CharSequence inTitle)
public Rectangle getBoundsBox()
getBoundsBox
in interface SvgNode
getBoundsBox
in class AbstractSvgNode
public void draw(Graphics2D g2)
draw
in class AbstractSvgNode
jataylor@hairyfatguy.com