public class SvgRect extends AbstractSvgNode implements SvgNode
XMLContainerImpl.sModemContentAndSubtagList| Constructor and Description |
|---|
SvgRect() |
SvgRect(Rectangle inRect) |
SvgRect(Rectangle2D inRect) |
SvgRect(XMLTag inXMLTag) |
| Modifier and Type | Method and Description |
|---|---|
SvgRect |
addStyle(String inValue) |
void |
draw(Graphics2D g2) |
Rectangle2D |
getBoundsBox() |
Float |
getHeight() |
Integer |
getRx() |
Integer |
getRy() |
Float |
getWidth() |
Float |
getX() |
Float |
getY() |
SvgRect |
setFill(Color inColor) |
SvgRect |
setFillOpacity(float inOpacity)
Specifies a value for the fill opacity of this rectangle.
|
SvgRect |
setHeight(double inValue) |
SvgRect |
setHeight(float inValue) |
SvgRect |
setHeight(int inValue) |
SvgRect |
setOnMouseDown(String inValue) |
SvgRect |
setOnMouseOut(String inValue) |
SvgRect |
setOnMouseOver(String inValue) |
SvgRect |
setOpacity(float inOpacity)
Specifies a value for the opacity of this rectangle (both its fill and stroke).
|
SvgRect |
setPosition(Point2D inValue)
Specifies the upper left corner of the bounding rectangle.
|
SvgRect |
setRx(int inValue) |
SvgRect |
setRy(int inValue) |
SvgRect |
setStroke(Color inColor) |
SvgRect |
setStrokeOpacity(float inOpacity)
Specifies a value for the stroke opacity of this rectangle.
|
SvgRect |
setStrokeWidth(int inValue) |
SvgRect |
setStyle(String inValue) |
SvgRect |
setTransform(String inValue) |
SvgRect |
setWidth(double inValue) |
SvgRect |
setWidth(float inValue) |
SvgRect |
setWidth(int inValue) |
String |
toString() |
addClass, adjustBoundsForTransform, applyTransform, applyTransforms, drawSubnodes, getAdjustedFont, getCenterPoint, getClassAttribute, getCssTransform, getG2Composite, getG2Paint, getG2Stroke, getG2StrokeColor, getTransform, initFromXMLTag, rangeCheckOpacityValue, setClass, setFilter, setId, setOnClick, setOnMouseUp, 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, getTransformfindNodesByAttributeValue, 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 SvgRect()
public SvgRect(Rectangle2D inRect)
public SvgRect setOpacity(float inOpacity)
inOpacity - A numeric value between 0.0 (completely transparent) and 1.0 (completely opaque).public SvgRect setFillOpacity(float inOpacity)
inOpacity - A numeric value between 0.0 (completely transparent) and 1.0 (completely opaque).public SvgRect setStrokeOpacity(float inOpacity)
inOpacity - A numeric value between 0.0 (completely transparent) and 1.0 (completely opaque).public SvgRect setStrokeWidth(int inValue)
public SvgRect addStyle(String inValue)
addStyle in interface SvgNodeaddStyle in class AbstractSvgNodepublic SvgRect setStyle(String inValue)
setStyle in class AbstractSvgNodepublic SvgRect setTransform(String inValue)
setTransform in interface SvgNodesetTransform in class AbstractSvgNodepublic SvgRect setOnMouseOver(String inValue)
setOnMouseOver in class AbstractSvgNodepublic SvgRect setOnMouseOut(String inValue)
setOnMouseOut in class AbstractSvgNodepublic SvgRect setOnMouseDown(String inValue)
setOnMouseDown in class AbstractSvgNodepublic SvgRect setPosition(Point2D inValue)
AbstractSvgNodesetPosition in interface SvgNodesetPosition in class AbstractSvgNodepublic Rectangle2D getBoundsBox()
getBoundsBox in interface SvgNodegetBoundsBox in class AbstractSvgNodepublic void draw(Graphics2D g2)
draw in class AbstractSvgNode
jataylor@hairyfatguy.com