@TagName(value="pattern") public class OMSVGPatternElement extends OMSVGElement implements ISVGURIReference, ISVGTests, ISVGLangSpace, ISVGExternalResourcesRequired, ISVGStylable, ISVGFitToViewBox, ISVGUnitTypes, ISVGContainerElement
OMSVGPatternElement interface corresponds
to the pattern element.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, SVG_UNIT_TYPE_UNKNOWN, SVG_UNIT_TYPE_USERSPACEONUSE| Modifier | Constructor and Description |
|---|---|
|
OMSVGPatternElement() |
protected |
OMSVGPatternElement(SVGPatternElement ot) |
| Modifier and Type | Method and Description |
|---|---|
OMSVGAnimatedBoolean |
getExternalResourcesRequired()
Corresponds to attribute
ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. |
OMSVGAnimatedLength |
getHeight()
Corresponds to attribute
getHeight()
on the given pattern element. |
OMSVGAnimatedString |
getHref()
Corresponds to attribute 'xlink:href' on
the given element.
|
OMSVGAnimatedEnumeration |
getPatternContentUnits()
Corresponds to attribute
getPatternContentUnits()
on the given pattern element. |
OMSVGAnimatedTransformList |
getPatternTransform()
Corresponds to attribute
getPatternTransform()
on the given pattern element. |
OMSVGAnimatedEnumeration |
getPatternUnits()
Corresponds to attribute
getPatternUnits()
on the given pattern element. |
OMSVGAnimatedPreserveAspectRatio |
getPreserveAspectRatio()
Corresponds to attribute
ISVGFitToViewBox.getPreserveAspectRatio()
on the given element. |
OMSVGStringList |
getRequiredExtensions()
Corresponds to attribute
ISVGTests.getRequiredExtensions()
on the given element. |
OMSVGStringList |
getRequiredFeatures()
Corresponds to attribute
ISVGTests.getRequiredFeatures()
on the given element. |
OMSVGStringList |
getSystemLanguage()
Corresponds to attribute
ISVGTests.getSystemLanguage()
on the given element. |
OMSVGAnimatedRect |
getViewBox()
Corresponds to attribute
ISVGFitToViewBox.getViewBox()
on the given element. |
OMSVGAnimatedLength |
getWidth()
Corresponds to attribute
getWidth()
on the given pattern element. |
OMSVGAnimatedLength |
getX()
|
String |
getXmllang()
Corresponds to attribute
xml:lang on the given element. |
String |
getXmlspace()
Corresponds to attribute
xml:space on the given element. |
OMSVGAnimatedLength |
getY()
|
boolean |
hasExtension(String extension)
Returns true if the user agent supports the given extension, specified
by a URI.
|
void |
setXmllang(String value)
Corresponds to attribute
xml:lang on the given element. |
void |
setXmlspace(String value)
Corresponds to attribute
xml:space on the given element. |
addClassNameBaseVal, getClassName, getMarkup, getOwnerSVGElement, getStyle, getViewportElement, getXmlbase, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseVal, setId, setXmlbasegetAttribute, getAttributeNode, getAttributeNS, getAttributes, getElement, getElementsByTagName, getElementsByTagNameNS, getId, getTagName, hasAttribute, hasAttributeNS, removeAttribute, setAttribute, setAttributeNode, setAttributeNSaddDomHandler, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddClassNameBaseVal, getClassName, getStyle, removeClassNameBaseVal, replaceClassNameBaseVal, setClassNameBaseValpublic OMSVGPatternElement()
protected OMSVGPatternElement(SVGPatternElement ot)
public final OMSVGAnimatedEnumeration getPatternUnits()
getPatternUnits()
on the given pattern element. Takes one of
the constants defined in ISVGUnitTypes.public final OMSVGAnimatedEnumeration getPatternContentUnits()
getPatternContentUnits()
on the given pattern element. Takes one of
the constants defined in ISVGUnitTypes.public final OMSVGAnimatedTransformList getPatternTransform()
getPatternTransform()
on the given pattern element.public final OMSVGAnimatedLength getX()
public final OMSVGAnimatedLength getY()
public final OMSVGAnimatedLength getWidth()
getWidth()
on the given pattern element.public final OMSVGAnimatedLength getHeight()
getHeight()
on the given pattern element.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 ISVGExternalResourcesRequiredpublic final OMSVGAnimatedRect getViewBox()
ISVGFitToViewBox.getViewBox()
on the given element.getViewBox in interface ISVGFitToViewBoxpublic final OMSVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
ISVGFitToViewBox.getPreserveAspectRatio()
on the given element.getPreserveAspectRatio in interface ISVGFitToViewBoxpublic final String getXmllang()
xml:lang on the given element.getXmllang in interface ISVGLangSpacepublic final void setXmllang(String value) throws com.google.gwt.core.client.JavaScriptException
xml:lang on the given element.setXmllang in interface ISVGLangSpaceDOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptExceptionpublic final String getXmlspace()
xml:space on the given element.getXmlspace in interface ISVGLangSpacepublic final void setXmlspace(String value) throws com.google.gwt.core.client.JavaScriptException
xml:space on the given element.setXmlspace in interface ISVGLangSpaceDOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptExceptionpublic final OMSVGStringList getRequiredFeatures()
ISVGTests.getRequiredFeatures()
on the given element.getRequiredFeatures in interface ISVGTestspublic final OMSVGStringList getRequiredExtensions()
ISVGTests.getRequiredExtensions()
on the given element.getRequiredExtensions in interface ISVGTestspublic final OMSVGStringList getSystemLanguage()
ISVGTests.getSystemLanguage()
on the given element.getSystemLanguage in interface ISVGTestspublic final boolean hasExtension(String extension)
hasExtension in interface ISVGTestsextension - The name of the extension, expressed as a URI.public final OMSVGAnimatedString getHref()
getHref in interface ISVGURIReferenceCopyright © 2018. All Rights Reserved.