mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
LibWeb: Implement SVGGradientElement
This is the base class for all SVG gradient types. This supports: - The `gradientUnits` attribute - The `gradientTransform` attribute - And following `xlink:hrefs` for inheriting <stops>/attributes
This commit is contained in:
parent
a5fa5e55ef
commit
71938550fa
7 changed files with 175 additions and 0 deletions
17
Userland/Libraries/LibWeb/SVG/SVGGradientElement.idl
Normal file
17
Userland/Libraries/LibWeb/SVG/SVGGradientElement.idl
Normal file
|
@ -0,0 +1,17 @@
|
|||
#import <SVG/SVGElement.idl>
|
||||
|
||||
[Exposed=Window]
|
||||
interface SVGGradientElement : SVGElement {
|
||||
|
||||
// Spread Method Types
|
||||
const unsigned short SVG_SPREADMETHOD_UNKNOWN = 0;
|
||||
const unsigned short SVG_SPREADMETHOD_PAD = 1;
|
||||
const unsigned short SVG_SPREADMETHOD_REFLECT = 2;
|
||||
const unsigned short SVG_SPREADMETHOD_REPEAT = 3;
|
||||
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration gradientUnits;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedTransformList gradientTransform;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration spreadMethod;
|
||||
};
|
||||
|
||||
// FIXME: SVGGradientElement includes SVGURIReference;
|
Loading…
Add table
Add a link
Reference in a new issue