@JsType(isNative=true, name="SVGPathElement", namespace="<global>") public class SVGPathElement extends SVGElement<SVGPathElement> implements SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable, SVGAnimatedPathData
EventTarget.Options
ACTIVE_BUBBLE, ACTIVE_CAPTURE, PASSIVE_BUBBLE, PASSIVE_CAPTURE, PASSIVE_SUPPORTED
Constructor and Description |
---|
SVGPathElement() |
blur, focus, getOwnerSVGElement, getTabIndex, getViewportElement, setTabIndex
addClassName, getAbsoluteLeft, getAbsoluteTop, getAttribute, getAttributeNS, getClassList, getClassName, getClientHeight, getClientLeft, getClientTop, getClientWidth, getComputedStyle, getId, getInnerHTML, getInnerText, getNativeStyle, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, hasClassName, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, querySelector, releaseCapture, removeAttribute, removeAttributeNS, removeClassName, setAttribute, setAttributeNS, setCapture, setCapture, setClassName, setId, setInnerHTML, setInnerText, setNativeCatpure, setNativeCatpure, setScrollLeft, setScrollTop, webkitRequestFullscreen
appendChild, cloneNode, compareDocumentPosition, contains, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNativeNodeType, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasChildNodes, insertAfter, insertBefore, insertBefore, insertFirst, isAncestor, isAttached, isDefaultNamespace, isDescendant, isEqualNode, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenBefore, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent
addEventListener, addEventListener, addEventListener, dispatchEvent, dispatchEvent, getEventListeners, removeEventListener, removeEventListener, removeEventListener, removeNativeEventListener, removeNativeEventListener, removeNativeEventListener, setEventListeners
cast, getOwnPropertyNames, hasOwnProperty, observe
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNativeStyle
@JsOverlay public final void setPathData(String pathData)
@JsOverlay public final void setStroke(Stroke stroke)
@JsOverlay public final void setFill(Fill<?> fill)
@JsProperty(name="pathSegList") public SVGPathSegList pathSegList()
pathSegList
in interface SVGAnimatedPathData
@JsProperty(name="normalizedPathSegList") public SVGPathSegList normalizedPathSegList()
normalizedPathSegList
in interface SVGAnimatedPathData
@JsProperty(name="animatedPathSegList") public SVGPathSegList animatedPathSegList()
animatedPathSegList
in interface SVGAnimatedPathData
@JsProperty(name="animatedNormalizedPathSegList") public SVGPathSegList animatedNormalizedPathSegList()
animatedNormalizedPathSegList
in interface SVGAnimatedPathData
@JsProperty(name="transform") public SVGAnimatedTransformList getTransform()
getTransform
in interface SVGTransformable
@JsProperty(name="nearestViewportElement") public SVGElement<?> getNearestViewportElement()
getNearestViewportElement
in interface SVGLocatable
@JsProperty(name="farthestViewportElement") public SVGElement<?> getFarthestViewportElement()
getFarthestViewportElement
in interface SVGLocatable
public SVGRect getBBox()
getBBox
in interface SVGLocatable
public SVGMatrix getCTM()
getCTM
in interface SVGLocatable
public SVGMatrix getScreenCTM()
getScreenCTM
in interface SVGLocatable
public SVGMatrix getTransformToElement(SVGElement<?> element)
getTransformToElement
in interface SVGLocatable
public CSSValue getPresentationAttribute(String name)
getPresentationAttribute
in interface SVGStylable
@JsProperty(name="externalResourcesRequired") public SVGAnimatedBoolean getExternalResourcesRequired()
getExternalResourcesRequired
in interface SVGExternalResourcesRequired
@JsProperty(name="xmllang") public String getXmlLang()
getXmlLang
in interface SVGLangSpace
@JsProperty(name="xmllang") public void setXmlLang(String xmlLang)
setXmlLang
in interface SVGLangSpace
@JsProperty(name="xmlspace") public String getXmlSpace()
getXmlSpace
in interface SVGLangSpace
@JsProperty(name="xmlspace") public void setXmlSpace(String xmlSpace)
setXmlSpace
in interface SVGLangSpace
@JsProperty(name="requiredFeatures") public SVGStringList getRequiredFeatures()
getRequiredFeatures
in interface SVGTests
@JsProperty(name="requiredExtensions") public SVGStringList getRequiredExtensions()
getRequiredExtensions
in interface SVGTests
@JsProperty(name="systemLanguage") public SVGStringList getSystemLanguage()
getSystemLanguage
in interface SVGTests
public boolean hasExtension(String extension)
hasExtension
in interface SVGTests
@JsOverlay public final String getVersion()
@JsOverlay public final void setVersion(String version)
@JsOverlay public final String getXmlns()
@JsOverlay public final void setXmlns(String xmlns)
@JsProperty(name="pathLength") public SVGAnimatedNumber pathLength()
public double getTotalLength()
public SVGPoint getPointAtLength(double distance)
public int getPathSegAtLength(double distance)
public SVGPathSegClosePath createSVGPathSegClosePath()
public SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(double x, double y)
public SVGPathSegMovetoRel createSVGPathSegMovetoRel(double x, double y)
public SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(double x, double y)
public SVGPathSegLinetoRel createSVGPathSegLinetoRel(double x, double y)
public SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(double x, double y, double x1, double y1, double x2, double y2)
public SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(double x, double y, double x1, double y1, double x2, double y2)
public SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(double x, double y, double x1, double y1)
public SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(double x, double y, double x1, double y1)
public SVGPathSegArcAbs createSVGPathSegArcAbs(double x, double y, double r1, double r2, double angle, boolean largeArcFlag, boolean sweepFlag)
public SVGPathSegArcRel createSVGPathSegArcRel(double x, double y, double r1, double r2, double angle, boolean largeArcFlag, boolean sweepFlag)
public SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(double x)
public SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(double x)
public SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(double y)
public SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(double y)
public SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(double x, double y, double x2, double y2)
public SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(double x, double y, double x2, double y2)
public SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(double x, double y)
public SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(double x, double y)
Copyright © 2018 Xalys. All rights reserved.