1 module libwasm.bindings.SVGAnimationElement; 2 3 import libwasm.types; 4 5 import memutils.ct: tuple; 6 import libwasm.bindings.SVGElement; 7 import libwasm.bindings.SVGStringList; 8 import libwasm.bindings.SVGTests; 9 10 @safe: 11 nothrow: 12 13 struct SVGAnimationElement { 14 nothrow: 15 libwasm.bindings.SVGElement.SVGElement _parent; 16 alias _parent this; 17 this(Handle h) { 18 _parent = .SVGElement(h); 19 } 20 auto targetElement()() { 21 return recastOpt!(SVGElement)(Object_Getter__OptionalHandle(this._parent, "targetElement")); 22 } 23 float getStartTime()() { 24 return Object_Getter__float(this._parent, "getStartTime"); 25 } 26 float getCurrentTime()() { 27 return Object_Getter__float(this._parent, "getCurrentTime"); 28 } 29 float getSimpleDuration()() { 30 return Object_Getter__float(this._parent, "getSimpleDuration"); 31 } 32 void beginElement()() { 33 Object_Call__void(this._parent, "beginElement"); 34 } 35 void beginElementAt()(float offset) { 36 Object_Call_float__void(this._parent, "beginElementAt", offset); 37 } 38 void endElement()() { 39 Object_Call__void(this._parent, "endElement"); 40 } 41 void endElementAt()(float offset) { 42 Object_Call_float__void(this._parent, "endElementAt", offset); 43 } 44 auto requiredFeatures()() { 45 return SVGStringList(Object_Getter__Handle(this._parent, "requiredFeatures")); 46 } 47 auto requiredExtensions()() { 48 return SVGStringList(Object_Getter__Handle(this._parent, "requiredExtensions")); 49 } 50 auto systemLanguage()() { 51 return SVGStringList(Object_Getter__Handle(this._parent, "systemLanguage")); 52 } 53 bool hasExtension()(string extension) { 54 return Object_Call_string__bool(this._parent, "hasExtension", extension); 55 } 56 } 57 58