ladybird/Userland/Libraries/LibWeb/SVG/SVGGradientElement.idl
MacDue 71938550fa 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
2023-04-28 09:42:28 +02:00

17 lines
635 B
Text

#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;