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