mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02: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.
10 lines
340 B
Plaintext
10 lines
340 B
Plaintext
#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;
|
|
};
|