mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +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.
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;
|
|
};
|