mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:55:07 +00:00

This represents the SVG <linearGradient>. The actual gradient is converted to a Gfx::PaintStyle for use in SVG fills... There is a little guesswork in the implementation, but it seems to match Chrome/Firefox. Note: Still not hooked up to actual painting in this commit.
9 lines
340 B
Text
9 lines
340 B
Text
#import <SVG/SVGGradientElement.idl>
|
|
|
|
[Exposed=Window]
|
|
interface SVGLinearGradientElement : SVGGradientElement {
|
|
[SameObject] readonly attribute SVGAnimatedLength x1;
|
|
[SameObject] readonly attribute SVGAnimatedLength y1;
|
|
[SameObject] readonly attribute SVGAnimatedLength x2;
|
|
[SameObject] readonly attribute SVGAnimatedLength y2;
|
|
};
|