SVGPathData镶边48 [英] SVGPathData chrome 48

查看:137
本文介绍了SVGPathData镶边48的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在chrome 48中被删除: SVGPathElement.pathSegList

in chrome 48 was removed: SVGPathElement.pathSegList

W3C Editor's Draft 2016年1月19日
显示了一种新的方式访问细分列表
https://svgwg.org/specs/paths/#InterfaceSVGPathData

this page W3C Editor’s Draft 19 January 2016 shows a new way to access to the segments list https://svgwg.org/specs/paths/#InterfaceSVGPathData

但是,如何使用它?
(SVGPathElement中的方法getPathData不存在

But, how to use it ? ( in the SVGPathElement the method "getPathData" not exists )

推荐答案

Robert Longson现在建议是一个很好的建议。您引用的API( getPathData setPathData )是全新的,尚未实现。在实施和可用之前,它们可能也会发生变化。

Robert Longson's suggestion is a good one for now. The API you are referring to (getPathData, setPathData) is all brand new and has not been implemented yet. There might also be changes before it is implemented and available.

这篇关于SVGPathData镶边48的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆