From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/svg/element/line/index.html | 117 ++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 files/zh-cn/web/svg/element/line/index.html (limited to 'files/zh-cn/web/svg/element/line') diff --git a/files/zh-cn/web/svg/element/line/index.html b/files/zh-cn/web/svg/element/line/index.html new file mode 100644 index 0000000000..6dfd6bfe11 --- /dev/null +++ b/files/zh-cn/web/svg/element/line/index.html @@ -0,0 +1,117 @@ +--- +title: line +slug: Web/SVG/Element/line +tags: + - SVG + - SVG图形 + - 元素 + - 参考 + - 线 +translation_of: Web/SVG/Element/line +--- +
{{SVGRef}}
+ +

line元素是一个SVG基本形状,用来创建一条连接两个点的线。

+ +

用法

+ +

{{svginfo}}

+ +

示例

+ +

» line.svg

+ +

你可以应用变形以得到同样的结果。从一条常见的线开始:

+ +

» line1.svg

+ +

添加变形选项以改变线的方向:

+ +

» line2.svg

+ +

属性

+ +

全局属性

+ + + +

专有属性

+ + + +

DOM 接口

+ +

该元素实现了SVGLineElement接口

+ +

浏览器兼容性

+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + +
功能ChromeFirefox (Gecko)IEOperaSafari
基本支持1.0{{CompatGeckoDesktop('1.8')}}{{CompatIE('9.0')}}{{CompatOpera('8.0')}}{{CompatSafari('3.0.4')}}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
功能AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
基本支持{{CompatAndroid('3.0')}}{{CompatGeckoMobile('1.8')}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatSafari('3.0.4')}}
+
+ +

该表格基于这些资源

+ +

相关内容

+ + -- cgit v1.2.3-54-g00ecf