mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibWeb: Add an initial implementation of SVG <radialGradient>
This follows on from the SVG linear gradients. It supports the same features (xlink:href, gradientUnits, gradientTransform). With this commit I have now implemented all web gradients :^) (Though we are still missing a few parameters for SVG gradients, e.g. spreadMethod).
This commit is contained in:
parent
2826bd2b45
commit
9b652842e4
6 changed files with 289 additions and 0 deletions
11
Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl
Normal file
11
Userland/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl
Normal file
|
@ -0,0 +1,11 @@
|
|||
#import <SVG/SVGGradientElement.idl>
|
||||
|
||||
[Exposed=Window]
|
||||
interface SVGRadialGradientElement : SVGGradientElement {
|
||||
[SameObject] readonly attribute SVGAnimatedLength cx;
|
||||
[SameObject] readonly attribute SVGAnimatedLength cy;
|
||||
[SameObject] readonly attribute SVGAnimatedLength r;
|
||||
[SameObject] readonly attribute SVGAnimatedLength fx;
|
||||
[SameObject] readonly attribute SVGAnimatedLength fy;
|
||||
[SameObject] readonly attribute SVGAnimatedLength fr;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue