SVGLinearGradientElement

Did you know that you can read content offline by using one of these tools? If you would like to read offline MDN content in another format, let us know by commenting on Bug 665750.

Dash App
この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

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 ? ? ? ?

 

タグ (8)