public class SvgPolygon extends AbstractSvgNode implements SvgNode
XMLContainerImpl.sMode
mContentAndSubtagList
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, setTitle
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 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 SvgNode
addStyle
in class AbstractSvgNode
public SvgPolygon setStyle(String inValue)
setStyle
in class AbstractSvgNode
public SvgPolygon setTransform(String inValue)
setTransform
in interface SvgNode
setTransform
in class AbstractSvgNode
public SvgPolygon setPoints(List<? extends Point2D> inPoints)
public SvgPolygon setPoints(String inValue)
public List<Point2D.Float> getPointList()
public Rectangle getBoundsBox()
getBoundsBox
in interface SvgNode
getBoundsBox
in class AbstractSvgNode
public void draw(Graphics2D g2)
draw
in class AbstractSvgNode