aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/svg/attribute/radius
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/svg/attribute/radius
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/svg/attribute/radius')
-rw-r--r--files/zh-cn/web/svg/attribute/radius/index.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/files/zh-cn/web/svg/attribute/radius/index.html b/files/zh-cn/web/svg/attribute/radius/index.html
new file mode 100644
index 0000000000..59f6dcfc07
--- /dev/null
+++ b/files/zh-cn/web/svg/attribute/radius/index.html
@@ -0,0 +1,49 @@
+---
+title: radius
+slug: Web/SVG/Attribute/radius
+tags:
+ - SVG
+ - SVG属性
+ - 滤镜
+ - 需要兼容性表
+ - 需要示例
+translation_of: Web/SVG/Attribute/radius
+---
+<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG属性参考主页</a></p>
+
+<p><code>radius</code>属性代表了一个给定{{SVGElement("feMorphology")}}滤镜上的操作。如果提供了两个<a href="/en/SVG/Content_type#Number" title="en/SVG/Content_type#Paint">&lt;number&gt;</a>,则第一个数代表了x-radius,第二个数代表了y-radius。如果只提供了一个数字,则值同时用于x和y。值是在{{SVGElement("filter")}} 元素的属性{{SVGAttr("primitiveUnits")}} 确定的坐标系统内。</p>
+
+<p>如果没有指定该属性值,效果等同于指定了一个<strong>0</strong>值。</p>
+
+<h2 id="用法">用法</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="row">类别</th>
+ <td><em>无</em></td>
+ </tr>
+ <tr>
+ <th scope="row">值</th>
+ <td><a href="/en/SVG/Content_type#Number-optional-number" title="en/SVG/Content_type#Paint">&lt;number-optional-number&gt;</a></td>
+ </tr>
+ <tr>
+ <th scope="row">可变性</th>
+ <td>Yes</td>
+ </tr>
+ <tr>
+ <th scope="row">规范文档</th>
+ <td><a href="http://www.w3.org/TR/SVG11/filters.html#feMorphologyRadiusAttribute" rel="external" title="http://www.w3.org/TR/SVG11/filters.html#feMorphologyRadiusAttribute">SVG 1.1 (2nd Edition)</a></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="示例">示例</h2>
+
+<h2 id="元素">元素</h2>
+
+<p>以下元素可以使用<code>radius</code>属性:</p>
+
+<ul>
+ <li>{{ SVGElement("feMorphology") }}</li>
+</ul>