public class SvgFeMorphology extends AbstractSvgNode
"This filter primitive performs "fattening" or "thinning" of artwork. It is particularly useful for fattening or thinning an alpha channel.
The dilation (or erosion) kernel is a rectangle with a width of 2*x-radius and a height of 2*y-radius. In dilation, the output pixel is the individual component-wise maximum of the corresponding R,G,B,A values in the input image's kernel rectangle. In erosion, the output pixel is the individual component-wise minimum of the corresponding R,G,B,A values in the input image's kernel rectangle.
Frequently this operation will take place on alpha-only images, such as that produced by the built-in input, SourceAlpha. In that case, the implementation might want to optimize the single channel case.
If the input has infinite extent and is constant, this operation has no effect. If the input has infinite extent and is a tile, the filter is evaluated with periodic boundary conditions.
Because 'feMorphology' operates on premultipied color values, it will always result in color values less than or equal to the alpha channel."
XMLContainerImpl.sMode
mContentAndSubtagList
Constructor and Description |
---|
SvgFeMorphology() |
SvgFeMorphology(XMLTag inXMLTag) |
Modifier and Type | Method and Description |
---|---|
SvgFeMorphology |
setColorInterpolationFilters(ColorInterpolationFilters inValue) |
SvgFeMorphology |
setHeight(int inValue) |
SvgFeMorphology |
setHeight(String inValue) |
SvgFeMorphology |
setIn(FeInput inValue) |
SvgFeMorphology |
setOperator(MorphologyOperator inValue)
A keyword indicating whether to erode (i.e., thin) or dilate (fatten) the source graphic.
|
SvgFeMorphology |
setRadius(float inValue)
The radius (or radii) for the operation.
|
SvgFeMorphology |
setRadius(String inValue)
The radius (or radii) for the operation.
|
SvgFeMorphology |
setResult(String inValue) |
SvgFeMorphology |
setWidth(int inValue) |
SvgFeMorphology |
setWidth(String inValue) |
SvgFeMorphology |
setX(int inValue) |
SvgFeMorphology |
setX(String inValue) |
SvgFeMorphology |
setY(int inValue) |
SvgFeMorphology |
setY(String inValue) |
addClass, addStyle, adjustBoundsForTransform, applyTransform, applyTransforms, draw, drawSubnodes, getAdjustedFont, getBoundsBox, getCenterPoint, getClassAttribute, getCssTransform, getG2Composite, getG2Paint, getG2Stroke, getG2StrokeColor, getTransform, initFromXMLTag, rangeCheckOpacityValue, setClass, setFilter, setId, setOnClick, setOnMouseDown, setOnMouseOut, setOnMouseOver, setOnMouseUp, setPosition, setStyle, setTitle, setTransform
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, toString, 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
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 SvgFeMorphology()
public SvgFeMorphology(XMLTag inXMLTag)
public SvgFeMorphology setIn(FeInput inValue)
public SvgFeMorphology setOperator(MorphologyOperator inValue)
public SvgFeMorphology setRadius(float inValue)
public SvgFeMorphology setRadius(String inValue)
public SvgFeMorphology setColorInterpolationFilters(ColorInterpolationFilters inValue)
public SvgFeMorphology setHeight(int inValue)
public SvgFeMorphology setHeight(String inValue)
public SvgFeMorphology setResult(String inValue)
public SvgFeMorphology setWidth(int inValue)
public SvgFeMorphology setWidth(String inValue)
public SvgFeMorphology setX(int inValue)
public SvgFeMorphology setX(String inValue)
public SvgFeMorphology setY(int inValue)
public SvgFeMorphology setY(String inValue)