Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

SVGLinearGradientElement

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

SVG linearGradient interface

The SVGLinearGradientElement interface corresponds to the <linearGradient> element.

Interface overview

Also implement SVGGradientElement
Methods None
Properties
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
x1 SVGAnimatedLength Corresponds to attribute x1 on the given <linearGradient> element.
y1 SVGAnimatedLength Corresponds to attribute y1 on the given <linearGradient> element.
x2 SVGAnimatedLength Corresponds to attribute x2 on the given <linearGradient> element.
y2 SVGAnimatedLength Corresponds to attribute y2 on the given <linearGradient> element.

Methods

The SVGLinearGradientElement interface do not provide any specific methods.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported ? ? ? ?

 

文档标签和贡献者

 此页面的贡献者: fscholz, kscarfone, Sheppy, pa7, Jeremie
 最后编辑者: fscholz,