public class SvgLine extends AbstractSvgNode implements SvgNode
XMLContainerImpl.sModemContentAndSubtagList| 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, setPositionaddSubtag, 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, verifyTagNameaddContent, 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, setSubtagsfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCenterPoint, getTransform, setPositionfindNodesByAttributeValue, 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, verifyTagNameaddContent, 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, setSubtagsclone, toIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXMLpublic SvgLine setTitle(String inValue)
setTitle in class AbstractSvgNodepublic SvgLine setStrokeWidth(int inValue)
public SvgLine addStyle(String inValue)
addStyle in interface SvgNodeaddStyle in class AbstractSvgNodepublic SvgLine setStyle(String inValue)
setStyle in class AbstractSvgNodepublic SvgLine setTransform(String inValue)
setTransform in interface SvgNodesetTransform in class AbstractSvgNodepublic SvgLine setOpacity(int inPctOpacity)
public int getX1()
public int getY1()
public int getX2()
public int getY2()
public Rectangle2D getBoundsBox()
getBoundsBox in interface SvgNodegetBoundsBox in class AbstractSvgNodepublic void draw(Graphics2D g2)
draw in class AbstractSvgNode
jataylor@hairyfatguy.com