public abstract class OMSVGGradientElement extends OMSVGElement implements ISVGURIReference, ISVGExternalResourcesRequired, ISVGStylable, ISVGUnitTypes
OMSVGGradientElement
interface is a
base interface used by OMSVGLinearGradientElement
and OMSVGRadialGradientElement
.Modifier and Type | Field and Description |
---|---|
static short |
SVG_SPREADMETHOD_PAD
Corresponds to value 'pad'.
|
static short |
SVG_SPREADMETHOD_REFLECT
Corresponds to value 'reflect'.
|
static short |
SVG_SPREADMETHOD_REPEAT
Corresponds to value 'repeat'.
|
static short |
SVG_SPREADMETHOD_UNKNOWN
The type is not one of predefined types.
|
SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, SVG_UNIT_TYPE_UNKNOWN, SVG_UNIT_TYPE_USERSPACEONUSE
Modifier | Constructor and Description |
---|---|
protected |
OMSVGGradientElement(SVGGradientElement ot) |
Modifier and Type | Method and Description |
---|---|
OMSVGAnimatedBoolean |
getExternalResourcesRequired()
Corresponds to attribute
ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. |
OMSVGAnimatedTransformList |
getGradientTransform()
Corresponds to attribute 'gradientTransform'
on the given element.
|
OMSVGAnimatedEnumeration |
getGradientUnits()
Corresponds to attribute 'gradientUnits'
on the given element.
|
OMSVGAnimatedString |
getHref()
Corresponds to attribute 'xlink:href' on
the given element.
|
OMSVGAnimatedEnumeration |
getSpreadMethod()
Corresponds to attribute 'spreadMethod'
on the given element.
|
addClassNameBaseVal, getClassName, getMarkup, getOwnerSVGElement, getStyle, getViewportElement, getXmlbase, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal, setId, setXmlbase
getAttribute, getAttributeNode, getAttributeNS, getAttributes, getElement, getElementsByTagName, getElementsByTagNameNS, getId, getTagName, hasAttribute, hasAttributeNS, removeAttribute, setAttribute, setAttributeNode, setAttributeNS
addDomHandler, addHandler, appendChild, cleanup, cloneNode, convert, convertList, dispatch, fireEvent, getChildNodes, getEventBus, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setNodeValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addClassNameBaseVal, getClassName, getStyle, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal
public static final short SVG_SPREADMETHOD_UNKNOWN
public static final short SVG_SPREADMETHOD_PAD
public static final short SVG_SPREADMETHOD_REFLECT
public static final short SVG_SPREADMETHOD_REPEAT
protected OMSVGGradientElement(SVGGradientElement ot)
public final OMSVGAnimatedEnumeration getGradientUnits()
ISVGUnitTypes
.public final OMSVGAnimatedTransformList getGradientTransform()
public final OMSVGAnimatedEnumeration getSpreadMethod()
public final OMSVGAnimatedBoolean getExternalResourcesRequired()
ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. Note that the SVG DOM defines the attribute ISVGExternalResourcesRequired.getExternalResourcesRequired()
as being of type OMSVGAnimatedBoolean
, whereas
the SVG language definition says that ISVGExternalResourcesRequired.getExternalResourcesRequired()
is not animated. Because the SVG language definition states that ISVGExternalResourcesRequired.getExternalResourcesRequired()
cannot be animated, the OMSVGAnimatedBoolean.getAnimVal()
will always be the same as the OMSVGAnimatedBoolean.getBaseVal()
.getExternalResourcesRequired
in interface ISVGExternalResourcesRequired
public final OMSVGAnimatedString getHref()
getHref
in interface ISVGURIReference
Copyright © 2018. All Rights Reserved.