微件:SVG:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
此小部件允许在页面上嵌入矢量图形图像。 | |||
Written by [[User:DSquirrelGM|DSquirrelGM]]. | Written by [[User:DSquirrelGM|DSquirrelGM]]. |
2021年8月4日 (三) 18:11的最新版本
此小部件允许在页面上嵌入矢量图形图像。
Written by DSquirrelGM.
Usage
Refer to the SVG specification for the use of these attributes: width, height, viewBox, preserveAspectRatio, x, y, version
width | horizontal image size | 100% | ||
height | vertical image size | 100% | ||
version | specification version | 1.1 | ||
x | horizontal origin (ignored on top level element) | 0 | ||
y | vertical origin (ignored on top level element) | 0 | ||
preserveAspectRatio | Aspect ratio adjustment | xMidYMid meet | ||
viewBox | viewport extents | 0 0 100% 100% | ||
content | SVG markup to be embedded | |||
url | (set a value to use url() scheme instead of img tag) |