SVGMPathElement

Baseline 已广泛支持

此特性已相当成熟,可在许多设备和浏览器版本上使用。自 ⁨2020 年 1 月⁩ 起,所有主流浏览器均已支持。

SVGMPathElement 接口对应于 <mpath> 元素。

EventTarget Node Element SVGElement SVGMPathElement

实例属性

此接口还继承了其父接口 SVGElement 的属性。

SVGMPathElement.href 只读

一个 SVGAnimatedString 对象,对应于给定 <mpath> 元素的 hrefxlink:href 已弃用 属性。

实例方法

此接口不实现任何特定方法,但继承了其父接口 SVGElement 的方法。

规范

规范
SVG 动画级别 2
# 接口SVGMPathElement

浏览器兼容性