SnapSVG基本概念与使用101

SnapSVG是Adobede的开源项目,由Raphaël.js的作者Dmitry Baranovskiy为现代浏览器(如IE9+、Safari、Chrome、Firefox和Opera)设计,支持更多的SVG特性。本文介绍了SnapSVG的基本概念,包括环境准备和在webpack中的配置,并特别提到了SnapSVG的一个亮点——能直接使用现有的SVG文件。
摘要由CSDN通过智能技术生成

SnapSVG(v0.5.1)

本文仅针对版本v0.5.1情况,其他环境:webpack@4.8.3、npm@5.8.0、nodejs@6.11.0

前身是旧浏览器时代有名的 Raphaël.js
为了更好地发挥HTML5的特性,原作者Dmitry Baranovskiy重写了一个SnapSVG,目前这个项目是Adobede的开源项目之一

Currently, the most popular library for working with SVG is Raphaël. One of the primary reasons Raphaël became the de facto standard is that it supports browsers all the way back to IE 6. However, supporting so many browsers means only being able to implement a common subset of SVG features. Snap was written entirely from scratch by the author of Raphaël (Dmitry Baranovskiy), and is designed specifically for modern browsers (IE9 and up, Safari, C

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值