蓝色天空.知识 · 实践 · 创造
我的收藏
在线代码实验室

沿路径运动 animatemotion3

XMLEdge本地HTTP;SVG1.1知识与现代基础SVG功能;实际版本另记animatemotion3.svg
animatemotion3.svg1 行
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="320" height="240" viewBox="0 0 320 240" role="img" aria-labelledby="title desc" ><title id="title">沿路径运动 animatemotion3 · 蓝色天空网</title><desc id="desc">路径运动加旋转/缩放及矩形尺寸颜色</desc><defs></defs><g id="subject"><text id="animated" x="0" y="0" font-size="20" fill="blue">蓝天学习<animateMotion path="M40 160 Q150 20 230 150" dur="5s" rotate="auto" repeatCount="indefinite"/><animateTransform attributeName="transform" type="scale" values="1;1.4" dur="5s" repeatCount="indefinite" additive="sum"/></text><rect id="size-animation" x="30" y="170" width="60" height="20" fill="red"><animate attributeName="width" values="60;180" dur="5s" repeatCount="indefinite"/><animate attributeName="fill" values="red;yellow" dur="5s" repeatCount="indefinite"/></rect></g><text x="12" y="232" fill="#325b86" font-size="12">蓝色天空网 · mbsky.com</text></svg>
本例需在 Edge本地HTTP;SVG1.1知识与现代基础SVG功能;实际版本另记 中运行,请复制源码、保存文件或下载工程包后在本地执行验证。
运行说明与环境独立工程

运行环境:Edge本地HTTP;SVG1.1知识与现代基础SVG功能;实际版本另记

入口文件:projects/svg-lab/cases/animatemotion3.svg

预期结果与验证条件观察提示
  • 路径运动加旋转/缩放及矩形尺寸颜色

请结合实际环境逐项观察。

附件与关联工程包下载

下载课程关联工程包:SVG

课程关联工程包(登记关联21章) · 含当前章节或实例 · mbskycom202611a533.zip
SITE SEARCH

搜索教程、工具与资讯

热门搜索

JavaScriptJSON格式化正则表达式AI 编程AI 翻译AI导航专题标签
Esc 关闭

欢迎登录蓝色天空网

使用会员账号,继续你的学习