public class SvgLine extends AbstractSvgNode implements SvgNode
XMLContainerImpl.sMode
mContentAndSubtagList
Constructor and Description |
---|
SvgLine(Point2D inStart,
Point2D inEnd) |
SvgLine(Point inStart,
Point inEnd) |
SvgLine(XMLTag inXMLTag) |
Modifier and Type | Method and Description |
---|---|
SvgLine |
addStyle(String inValue) |
void |
draw(Graphics2D g2) |
Rectangle2D |
getBoundsBox() |
int |
getX1() |
int |
getX2() |
int |
getY1() |
int |
getY2() |
SvgLine |
setOpacity(int inPctOpacity) |
SvgLine |
setStroke(Color inColor) |
SvgLine |
setStrokeWidth(int inValue) |
SvgLine |
setStyle(String inValue) |
SvgLine |
setTitle(String inValue) |
SvgLine |
setTransform(String inValue) |
String |
toString() |
addClass, adjustBoundsForTransform, applyTransform, applyTransforms, drawSubnodes, getAdjustedFont, getCenterPoint, getClassAttribute, getCssTransform, getG2Composite, getG2Paint, getG2Stroke, getG2StrokeColor, getTransform, initFromXMLTag, rangeCheckOpacityValue, setClass, setFilter, setId, 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, setAttribute, setAttributes, setContent, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, 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, 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 SvgLine setTitle(String inValue)
setTitle
in class AbstractSvgNode
public SvgLine setStrokeWidth(int inValue)
public SvgLine addStyle(String inValue)
addStyle
in interface SvgNode
addStyle
in class AbstractSvgNode
public SvgLine setStyle(String inValue)
setStyle
in class AbstractSvgNode
public SvgLine setTransform(String inValue)
setTransform
in interface SvgNode
setTransform
in class AbstractSvgNode
public SvgLine setOpacity(int inPctOpacity)
public int getX1()
public int getY1()
public int getX2()
public int getY2()
public Rectangle2D getBoundsBox()
getBoundsBox
in interface SvgNode
getBoundsBox
in class AbstractSvgNode
public void draw(Graphics2D g2)
draw
in class AbstractSvgNode
jataylor@hairyfatguy.com