web api interface
SVGLinearGradientElement
The SVGLinearGradientElement interface corresponds to the <linearGradient> element.
Instance properties
This interface also inherits properties from its parent, SVGGradientElement.
x1Read only- : An
SVGAnimatedLengthcorresponding to thex1attribute of the given<linearGradient>element.
- : An
y1Read only- : An
SVGAnimatedLengthcorresponding to they1attribute of the given<linearGradient>element.
- : An
x2Read only- : An
SVGAnimatedLengthcorresponding to thex2attribute of the given<linearGradient>element.
- : An
y2Read only- : An
SVGAnimatedLengthcorresponding to they2attribute of the given<linearGradient>element.
- : An
Instance methods
This interface doesn’t implement any specific methods, but inherits methods from its parent interface, SVGGradientElement.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.