@TagName(value="marker") public class OMSVGMarkerElement extends OMSVGElement implements ISVGLangSpace, ISVGExternalResourcesRequired, ISVGStylable, ISVGFitToViewBox, ISVGContainerElement
OMSVGMarkerElement interface corresponds
to the marker element.| Modifier and Type | Field and Description |
|---|---|
static short |
SVG_MARKER_ORIENT_ANGLE
Attribute
orient has an angle value. |
static short |
SVG_MARKER_ORIENT_AUTO
Attribute
orient has value 'auto'. |
static short |
SVG_MARKER_ORIENT_UNKNOWN
The marker orientation is not one of predefined types.
|
static short |
SVG_MARKERUNITS_STROKEWIDTH
The value of attribute
getMarkerUnits()
is 'strokeWidth'. |
static short |
SVG_MARKERUNITS_UNKNOWN
The marker unit type is not one of predefined types.
|
static short |
SVG_MARKERUNITS_USERSPACEONUSE
The value of attribute
getMarkerUnits()
is 'userSpaceOnUse'. |
| Modifier | Constructor and Description |
|---|---|
|
OMSVGMarkerElement() |
protected |
OMSVGMarkerElement(SVGMarkerElement ot) |
| Modifier and Type | Method and Description |
|---|---|
OMSVGAnimatedBoolean |
getExternalResourcesRequired()
Corresponds to attribute
ISVGExternalResourcesRequired.getExternalResourcesRequired()
on the given element. |
OMSVGAnimatedLength |
getMarkerHeight()
Corresponds to attribute
getMarkerHeight()
on the given marker element. |
OMSVGAnimatedEnumeration |
getMarkerUnits()
Corresponds to attribute
getMarkerUnits()
on the given marker element. |
OMSVGAnimatedLength |
getMarkerWidth()
Corresponds to attribute
getMarkerWidth()
on the given marker element. |
OMSVGAnimatedAngle |
getOrientAngle()
Corresponds to attribute
orient on the given marker element. |
OMSVGAnimatedEnumeration |
getOrientType()
Corresponds to attribute
orient on the given marker element. |
OMSVGAnimatedPreserveAspectRatio |
getPreserveAspectRatio()
Corresponds to attribute
ISVGFitToViewBox.getPreserveAspectRatio()
on the given element. |
OMSVGAnimatedLength |
getRefX()
|
OMSVGAnimatedLength |
getRefY()
|
OMSVGAnimatedRect |
getViewBox()
Corresponds to attribute
ISVGFitToViewBox.getViewBox()
on the given element. |
String |
getXmllang()
Corresponds to attribute
xml:lang on the given element. |
String |
getXmlspace()
Corresponds to attribute
xml:space on the given element. |
void |
setOrientToAngle(OMSVGAngle angle)
Sets the value of attribute
orient to the given angle. |
void |
setOrientToAuto()
Sets the value of attribute
orient to 'auto'. |
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 static final short SVG_MARKERUNITS_UNKNOWN
public static final short SVG_MARKERUNITS_USERSPACEONUSE
getMarkerUnits()
is 'userSpaceOnUse'.public static final short SVG_MARKERUNITS_STROKEWIDTH
getMarkerUnits()
is 'strokeWidth'.public static final short SVG_MARKER_ORIENT_UNKNOWN
public static final short SVG_MARKER_ORIENT_AUTO
orient has value 'auto'.public static final short SVG_MARKER_ORIENT_ANGLE
orient has an angle value.public OMSVGMarkerElement()
protected OMSVGMarkerElement(SVGMarkerElement ot)
public final OMSVGAnimatedLength getRefX()
public final OMSVGAnimatedLength getRefY()
public final OMSVGAnimatedEnumeration getMarkerUnits()
getMarkerUnits()
on the given marker element. One of the Marker
Unit Types defined on this interface.public final OMSVGAnimatedLength getMarkerWidth()
getMarkerWidth()
on the given marker element.public final OMSVGAnimatedLength getMarkerHeight()
getMarkerHeight()
on the given marker element.public final OMSVGAnimatedEnumeration getOrientType()
orient on the given marker element. One of the Marker
Orientation Types defined on this interface.public final OMSVGAnimatedAngle getOrientAngle()
orient on the given marker element. If getMarkerUnits()
is SVG_MARKER_ORIENT_ANGLE, the angle value for attribute orient;
otherwise, it will be set to zero.public final void setOrientToAuto()
throws com.google.gwt.core.client.JavaScriptException
orient to 'auto'.DOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptExceptionpublic final void setOrientToAngle(OMSVGAngle angle) throws com.google.gwt.core.client.JavaScriptException
orient to the given angle.angle - The angle value to use for attribute orient.DOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptExceptionpublic 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.JavaScriptExceptionCopyright © 2018. All Rights Reserved.