1 module libwasm.bindings.SVGPatternElement; 2 3 import libwasm.types; 4 5 import memutils.ct: tuple; 6 import libwasm.bindings.SVGAnimatedEnumeration; 7 import libwasm.bindings.SVGAnimatedLength; 8 import libwasm.bindings.SVGAnimatedPreserveAspectRatio; 9 import libwasm.bindings.SVGAnimatedRect; 10 import libwasm.bindings.SVGAnimatedString; 11 import libwasm.bindings.SVGAnimatedTransformList; 12 import libwasm.bindings.SVGElement; 13 import libwasm.bindings.SVGFitToViewBox; 14 import libwasm.bindings.SVGURIReference; 15 16 @safe: 17 nothrow: 18 19 struct SVGPatternElement { 20 nothrow: 21 libwasm.bindings.SVGElement.SVGElement _parent; 22 alias _parent this; 23 this(Handle h) { 24 _parent = .SVGElement(h); 25 } 26 auto patternUnits()() { 27 return SVGAnimatedEnumeration(Object_Getter__Handle(this._parent, "patternUnits")); 28 } 29 auto patternContentUnits()() { 30 return SVGAnimatedEnumeration(Object_Getter__Handle(this._parent, "patternContentUnits")); 31 } 32 auto patternTransform()() { 33 return SVGAnimatedTransformList(Object_Getter__Handle(this._parent, "patternTransform")); 34 } 35 auto x()() { 36 return SVGAnimatedLength(Object_Getter__Handle(this._parent, "x")); 37 } 38 auto y()() { 39 return SVGAnimatedLength(Object_Getter__Handle(this._parent, "y")); 40 } 41 auto width()() { 42 return SVGAnimatedLength(Object_Getter__Handle(this._parent, "width")); 43 } 44 auto height()() { 45 return SVGAnimatedLength(Object_Getter__Handle(this._parent, "height")); 46 } 47 auto viewBox()() { 48 return SVGAnimatedRect(Object_Getter__Handle(this._parent, "viewBox")); 49 } 50 auto preserveAspectRatio()() { 51 return SVGAnimatedPreserveAspectRatio(Object_Getter__Handle(this._parent, "preserveAspectRatio")); 52 } 53 auto href()() { 54 return SVGAnimatedString(Object_Getter__Handle(this._parent, "href")); 55 } 56 } 57 58