public class SvgPolygon extends AbstractSvgNode implements SvgNode
XMLContainerImpl.sModemContentAndSubtagList| Constructor and Description |
|---|
SvgPolygon() |
SvgPolygon(List<? extends Point2D> inPoints) |
SvgPolygon(XMLTag inXMLTag) |
| Modifier and Type | Method and Description |
|---|---|
SvgPolygon |
addStyle(String inValue) |
void |
draw(Graphics2D g2) |
Rectangle |
getBoundsBox() |
List<Point2D.Float> |
getPointList() |
String |
getPoints() |
SvgPolygon |
setFill(Color inColor) |
SvgPolygon |
setFillOpacity(int inPctOpacity) |
SvgPolygon |
setOpacity(int inPctOpacity) |
SvgPolygon |
setPoints(List<? extends Point2D> inPoints) |
SvgPolygon |
setPoints(String inValue) |
SvgPolygon |
setStroke(Color inColor) |
SvgPolygon |
setStrokeWidth(int inValue) |
SvgPolygon |
setStyle(String inValue) |
SvgPolygon |
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, setTitleaddSubtag, 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 SvgPolygon()
public SvgPolygon(List<? extends Point2D> inPoints)
public SvgPolygon(XMLTag inXMLTag)
public SvgPolygon setFill(Color inColor)
public SvgPolygon setOpacity(int inPctOpacity)
public SvgPolygon setFillOpacity(int inPctOpacity)
public SvgPolygon setStroke(Color inColor)
public SvgPolygon setStrokeWidth(int inValue)
public SvgPolygon addStyle(String inValue)
addStyle in interface SvgNodeaddStyle in class AbstractSvgNodepublic SvgPolygon setStyle(String inValue)
setStyle in class AbstractSvgNodepublic SvgPolygon setTransform(String inValue)
setTransform in interface SvgNodesetTransform in class AbstractSvgNodepublic SvgPolygon setPoints(List<? extends Point2D> inPoints)
public SvgPolygon setPoints(String inValue)
public List<Point2D.Float> getPointList()
public Rectangle getBoundsBox()
getBoundsBox in interface SvgNodegetBoundsBox in class AbstractSvgNodepublic void draw(Graphics2D g2)
draw in class AbstractSvgNode
jataylor@hairyfatguy.com