SVGCursorElement

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

The SVGCursorElement interface provides access to the properties of <cursor> elements, as well as methods to manipulate them.

Properties

This interface also inherits properties from its parent, SVGElement, and implements properties from SVGURIReference.

SVGCursorElement.x Read only
An SVGAnimatedLength corresponding to the x attribute of the given <cursor> element.
SVGCursorElement.y Read only
An SVGAnimatedLength corresponding to the y attribute of the given <cursor> element.

Methods

This interface doesn't implement any specific methods, but inherits methods from its parent, SVGElement.

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGCursorElement' in that specification.
Candidate Recommendation Removed the inheritance from SVGTests, SVGExternalResourcesRequired
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGCursorElement' in that specification.
Recommendation Initial definition

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) No support No support No support (Yes) (Yes)
Removed 57       44  
Feature Android Webview Chrome for Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) (Yes) No support No support No support (Yes) ?
Removed 57 57       44  

See also

文档标签和贡献者