github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/apis51_js_wasm.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 package web 5 6 import ( 7 "github.com/primecitizens/pcz/std/ffi/js" 8 "github.com/primecitizens/pcz/std/plat/js/web/bindings" 9 ) 10 11 type SVGAnimatedEnumeration struct { 12 ref js.Ref 13 } 14 15 func (this SVGAnimatedEnumeration) Once() SVGAnimatedEnumeration { 16 this.ref.Once() 17 return this 18 } 19 20 func (this SVGAnimatedEnumeration) Ref() js.Ref { 21 return this.ref 22 } 23 24 func (this SVGAnimatedEnumeration) FromRef(ref js.Ref) SVGAnimatedEnumeration { 25 this.ref = ref 26 return this 27 } 28 29 func (this SVGAnimatedEnumeration) Free() { 30 this.ref.Free() 31 } 32 33 // BaseVal returns the value of property "SVGAnimatedEnumeration.baseVal". 34 // 35 // It returns ok=false if there is no such property. 36 func (this SVGAnimatedEnumeration) BaseVal() (ret uint16, ok bool) { 37 ok = js.True == bindings.GetSVGAnimatedEnumerationBaseVal( 38 this.ref, js.Pointer(&ret), 39 ) 40 return 41 } 42 43 // SetBaseVal sets the value of property "SVGAnimatedEnumeration.baseVal" to val. 44 // 45 // It returns false if the property cannot be set. 46 func (this SVGAnimatedEnumeration) SetBaseVal(val uint16) bool { 47 return js.True == bindings.SetSVGAnimatedEnumerationBaseVal( 48 this.ref, 49 uint32(val), 50 ) 51 } 52 53 // AnimVal returns the value of property "SVGAnimatedEnumeration.animVal". 54 // 55 // It returns ok=false if there is no such property. 56 func (this SVGAnimatedEnumeration) AnimVal() (ret uint16, ok bool) { 57 ok = js.True == bindings.GetSVGAnimatedEnumerationAnimVal( 58 this.ref, js.Pointer(&ret), 59 ) 60 return 61 } 62 63 type SVGAnimatedInteger struct { 64 ref js.Ref 65 } 66 67 func (this SVGAnimatedInteger) Once() SVGAnimatedInteger { 68 this.ref.Once() 69 return this 70 } 71 72 func (this SVGAnimatedInteger) Ref() js.Ref { 73 return this.ref 74 } 75 76 func (this SVGAnimatedInteger) FromRef(ref js.Ref) SVGAnimatedInteger { 77 this.ref = ref 78 return this 79 } 80 81 func (this SVGAnimatedInteger) Free() { 82 this.ref.Free() 83 } 84 85 // BaseVal returns the value of property "SVGAnimatedInteger.baseVal". 86 // 87 // It returns ok=false if there is no such property. 88 func (this SVGAnimatedInteger) BaseVal() (ret int32, ok bool) { 89 ok = js.True == bindings.GetSVGAnimatedIntegerBaseVal( 90 this.ref, js.Pointer(&ret), 91 ) 92 return 93 } 94 95 // SetBaseVal sets the value of property "SVGAnimatedInteger.baseVal" to val. 96 // 97 // It returns false if the property cannot be set. 98 func (this SVGAnimatedInteger) SetBaseVal(val int32) bool { 99 return js.True == bindings.SetSVGAnimatedIntegerBaseVal( 100 this.ref, 101 int32(val), 102 ) 103 } 104 105 // AnimVal returns the value of property "SVGAnimatedInteger.animVal". 106 // 107 // It returns ok=false if there is no such property. 108 func (this SVGAnimatedInteger) AnimVal() (ret int32, ok bool) { 109 ok = js.True == bindings.GetSVGAnimatedIntegerAnimVal( 110 this.ref, js.Pointer(&ret), 111 ) 112 return 113 } 114 115 type SVGLengthList struct { 116 ref js.Ref 117 } 118 119 func (this SVGLengthList) Once() SVGLengthList { 120 this.ref.Once() 121 return this 122 } 123 124 func (this SVGLengthList) Ref() js.Ref { 125 return this.ref 126 } 127 128 func (this SVGLengthList) FromRef(ref js.Ref) SVGLengthList { 129 this.ref = ref 130 return this 131 } 132 133 func (this SVGLengthList) Free() { 134 this.ref.Free() 135 } 136 137 // Length returns the value of property "SVGLengthList.length". 138 // 139 // It returns ok=false if there is no such property. 140 func (this SVGLengthList) Length() (ret uint32, ok bool) { 141 ok = js.True == bindings.GetSVGLengthListLength( 142 this.ref, js.Pointer(&ret), 143 ) 144 return 145 } 146 147 // NumberOfItems returns the value of property "SVGLengthList.numberOfItems". 148 // 149 // It returns ok=false if there is no such property. 150 func (this SVGLengthList) NumberOfItems() (ret uint32, ok bool) { 151 ok = js.True == bindings.GetSVGLengthListNumberOfItems( 152 this.ref, js.Pointer(&ret), 153 ) 154 return 155 } 156 157 // HasFuncClear returns true if the method "SVGLengthList.clear" exists. 158 func (this SVGLengthList) HasFuncClear() bool { 159 return js.True == bindings.HasFuncSVGLengthListClear( 160 this.ref, 161 ) 162 } 163 164 // FuncClear returns the method "SVGLengthList.clear". 165 func (this SVGLengthList) FuncClear() (fn js.Func[func()]) { 166 bindings.FuncSVGLengthListClear( 167 this.ref, js.Pointer(&fn), 168 ) 169 return 170 } 171 172 // Clear calls the method "SVGLengthList.clear". 173 func (this SVGLengthList) Clear() (ret js.Void) { 174 bindings.CallSVGLengthListClear( 175 this.ref, js.Pointer(&ret), 176 ) 177 178 return 179 } 180 181 // TryClear calls the method "SVGLengthList.clear" 182 // in a try/catch block and returns (_, err, ok = false) when it went through 183 // the catch clause. 184 func (this SVGLengthList) TryClear() (ret js.Void, exception js.Any, ok bool) { 185 ok = js.True == bindings.TrySVGLengthListClear( 186 this.ref, js.Pointer(&ret), js.Pointer(&exception), 187 ) 188 189 return 190 } 191 192 // HasFuncInitialize returns true if the method "SVGLengthList.initialize" exists. 193 func (this SVGLengthList) HasFuncInitialize() bool { 194 return js.True == bindings.HasFuncSVGLengthListInitialize( 195 this.ref, 196 ) 197 } 198 199 // FuncInitialize returns the method "SVGLengthList.initialize". 200 func (this SVGLengthList) FuncInitialize() (fn js.Func[func(newItem SVGLength) SVGLength]) { 201 bindings.FuncSVGLengthListInitialize( 202 this.ref, js.Pointer(&fn), 203 ) 204 return 205 } 206 207 // Initialize calls the method "SVGLengthList.initialize". 208 func (this SVGLengthList) Initialize(newItem SVGLength) (ret SVGLength) { 209 bindings.CallSVGLengthListInitialize( 210 this.ref, js.Pointer(&ret), 211 newItem.Ref(), 212 ) 213 214 return 215 } 216 217 // TryInitialize calls the method "SVGLengthList.initialize" 218 // in a try/catch block and returns (_, err, ok = false) when it went through 219 // the catch clause. 220 func (this SVGLengthList) TryInitialize(newItem SVGLength) (ret SVGLength, exception js.Any, ok bool) { 221 ok = js.True == bindings.TrySVGLengthListInitialize( 222 this.ref, js.Pointer(&ret), js.Pointer(&exception), 223 newItem.Ref(), 224 ) 225 226 return 227 } 228 229 // HasFuncGetItem returns true if the method "SVGLengthList.getItem" exists. 230 func (this SVGLengthList) HasFuncGetItem() bool { 231 return js.True == bindings.HasFuncSVGLengthListGetItem( 232 this.ref, 233 ) 234 } 235 236 // FuncGetItem returns the method "SVGLengthList.getItem". 237 func (this SVGLengthList) FuncGetItem() (fn js.Func[func(index uint32) SVGLength]) { 238 bindings.FuncSVGLengthListGetItem( 239 this.ref, js.Pointer(&fn), 240 ) 241 return 242 } 243 244 // GetItem calls the method "SVGLengthList.getItem". 245 func (this SVGLengthList) GetItem(index uint32) (ret SVGLength) { 246 bindings.CallSVGLengthListGetItem( 247 this.ref, js.Pointer(&ret), 248 uint32(index), 249 ) 250 251 return 252 } 253 254 // TryGetItem calls the method "SVGLengthList.getItem" 255 // in a try/catch block and returns (_, err, ok = false) when it went through 256 // the catch clause. 257 func (this SVGLengthList) TryGetItem(index uint32) (ret SVGLength, exception js.Any, ok bool) { 258 ok = js.True == bindings.TrySVGLengthListGetItem( 259 this.ref, js.Pointer(&ret), js.Pointer(&exception), 260 uint32(index), 261 ) 262 263 return 264 } 265 266 // HasFuncInsertItemBefore returns true if the method "SVGLengthList.insertItemBefore" exists. 267 func (this SVGLengthList) HasFuncInsertItemBefore() bool { 268 return js.True == bindings.HasFuncSVGLengthListInsertItemBefore( 269 this.ref, 270 ) 271 } 272 273 // FuncInsertItemBefore returns the method "SVGLengthList.insertItemBefore". 274 func (this SVGLengthList) FuncInsertItemBefore() (fn js.Func[func(newItem SVGLength, index uint32) SVGLength]) { 275 bindings.FuncSVGLengthListInsertItemBefore( 276 this.ref, js.Pointer(&fn), 277 ) 278 return 279 } 280 281 // InsertItemBefore calls the method "SVGLengthList.insertItemBefore". 282 func (this SVGLengthList) InsertItemBefore(newItem SVGLength, index uint32) (ret SVGLength) { 283 bindings.CallSVGLengthListInsertItemBefore( 284 this.ref, js.Pointer(&ret), 285 newItem.Ref(), 286 uint32(index), 287 ) 288 289 return 290 } 291 292 // TryInsertItemBefore calls the method "SVGLengthList.insertItemBefore" 293 // in a try/catch block and returns (_, err, ok = false) when it went through 294 // the catch clause. 295 func (this SVGLengthList) TryInsertItemBefore(newItem SVGLength, index uint32) (ret SVGLength, exception js.Any, ok bool) { 296 ok = js.True == bindings.TrySVGLengthListInsertItemBefore( 297 this.ref, js.Pointer(&ret), js.Pointer(&exception), 298 newItem.Ref(), 299 uint32(index), 300 ) 301 302 return 303 } 304 305 // HasFuncReplaceItem returns true if the method "SVGLengthList.replaceItem" exists. 306 func (this SVGLengthList) HasFuncReplaceItem() bool { 307 return js.True == bindings.HasFuncSVGLengthListReplaceItem( 308 this.ref, 309 ) 310 } 311 312 // FuncReplaceItem returns the method "SVGLengthList.replaceItem". 313 func (this SVGLengthList) FuncReplaceItem() (fn js.Func[func(newItem SVGLength, index uint32) SVGLength]) { 314 bindings.FuncSVGLengthListReplaceItem( 315 this.ref, js.Pointer(&fn), 316 ) 317 return 318 } 319 320 // ReplaceItem calls the method "SVGLengthList.replaceItem". 321 func (this SVGLengthList) ReplaceItem(newItem SVGLength, index uint32) (ret SVGLength) { 322 bindings.CallSVGLengthListReplaceItem( 323 this.ref, js.Pointer(&ret), 324 newItem.Ref(), 325 uint32(index), 326 ) 327 328 return 329 } 330 331 // TryReplaceItem calls the method "SVGLengthList.replaceItem" 332 // in a try/catch block and returns (_, err, ok = false) when it went through 333 // the catch clause. 334 func (this SVGLengthList) TryReplaceItem(newItem SVGLength, index uint32) (ret SVGLength, exception js.Any, ok bool) { 335 ok = js.True == bindings.TrySVGLengthListReplaceItem( 336 this.ref, js.Pointer(&ret), js.Pointer(&exception), 337 newItem.Ref(), 338 uint32(index), 339 ) 340 341 return 342 } 343 344 // HasFuncRemoveItem returns true if the method "SVGLengthList.removeItem" exists. 345 func (this SVGLengthList) HasFuncRemoveItem() bool { 346 return js.True == bindings.HasFuncSVGLengthListRemoveItem( 347 this.ref, 348 ) 349 } 350 351 // FuncRemoveItem returns the method "SVGLengthList.removeItem". 352 func (this SVGLengthList) FuncRemoveItem() (fn js.Func[func(index uint32) SVGLength]) { 353 bindings.FuncSVGLengthListRemoveItem( 354 this.ref, js.Pointer(&fn), 355 ) 356 return 357 } 358 359 // RemoveItem calls the method "SVGLengthList.removeItem". 360 func (this SVGLengthList) RemoveItem(index uint32) (ret SVGLength) { 361 bindings.CallSVGLengthListRemoveItem( 362 this.ref, js.Pointer(&ret), 363 uint32(index), 364 ) 365 366 return 367 } 368 369 // TryRemoveItem calls the method "SVGLengthList.removeItem" 370 // in a try/catch block and returns (_, err, ok = false) when it went through 371 // the catch clause. 372 func (this SVGLengthList) TryRemoveItem(index uint32) (ret SVGLength, exception js.Any, ok bool) { 373 ok = js.True == bindings.TrySVGLengthListRemoveItem( 374 this.ref, js.Pointer(&ret), js.Pointer(&exception), 375 uint32(index), 376 ) 377 378 return 379 } 380 381 // HasFuncAppendItem returns true if the method "SVGLengthList.appendItem" exists. 382 func (this SVGLengthList) HasFuncAppendItem() bool { 383 return js.True == bindings.HasFuncSVGLengthListAppendItem( 384 this.ref, 385 ) 386 } 387 388 // FuncAppendItem returns the method "SVGLengthList.appendItem". 389 func (this SVGLengthList) FuncAppendItem() (fn js.Func[func(newItem SVGLength) SVGLength]) { 390 bindings.FuncSVGLengthListAppendItem( 391 this.ref, js.Pointer(&fn), 392 ) 393 return 394 } 395 396 // AppendItem calls the method "SVGLengthList.appendItem". 397 func (this SVGLengthList) AppendItem(newItem SVGLength) (ret SVGLength) { 398 bindings.CallSVGLengthListAppendItem( 399 this.ref, js.Pointer(&ret), 400 newItem.Ref(), 401 ) 402 403 return 404 } 405 406 // TryAppendItem calls the method "SVGLengthList.appendItem" 407 // in a try/catch block and returns (_, err, ok = false) when it went through 408 // the catch clause. 409 func (this SVGLengthList) TryAppendItem(newItem SVGLength) (ret SVGLength, exception js.Any, ok bool) { 410 ok = js.True == bindings.TrySVGLengthListAppendItem( 411 this.ref, js.Pointer(&ret), js.Pointer(&exception), 412 newItem.Ref(), 413 ) 414 415 return 416 } 417 418 // HasFuncSet returns true if the method "SVGLengthList." exists. 419 func (this SVGLengthList) HasFuncSet() bool { 420 return js.True == bindings.HasFuncSVGLengthListSet( 421 this.ref, 422 ) 423 } 424 425 // FuncSet returns the method "SVGLengthList.". 426 func (this SVGLengthList) FuncSet() (fn js.Func[func(index uint32, newItem SVGLength)]) { 427 bindings.FuncSVGLengthListSet( 428 this.ref, js.Pointer(&fn), 429 ) 430 return 431 } 432 433 // Set calls the method "SVGLengthList.". 434 func (this SVGLengthList) Set(index uint32, newItem SVGLength) (ret js.Void) { 435 bindings.CallSVGLengthListSet( 436 this.ref, js.Pointer(&ret), 437 uint32(index), 438 newItem.Ref(), 439 ) 440 441 return 442 } 443 444 // TrySet calls the method "SVGLengthList." 445 // in a try/catch block and returns (_, err, ok = false) when it went through 446 // the catch clause. 447 func (this SVGLengthList) TrySet(index uint32, newItem SVGLength) (ret js.Void, exception js.Any, ok bool) { 448 ok = js.True == bindings.TrySVGLengthListSet( 449 this.ref, js.Pointer(&ret), js.Pointer(&exception), 450 uint32(index), 451 newItem.Ref(), 452 ) 453 454 return 455 } 456 457 type SVGAnimatedLengthList struct { 458 ref js.Ref 459 } 460 461 func (this SVGAnimatedLengthList) Once() SVGAnimatedLengthList { 462 this.ref.Once() 463 return this 464 } 465 466 func (this SVGAnimatedLengthList) Ref() js.Ref { 467 return this.ref 468 } 469 470 func (this SVGAnimatedLengthList) FromRef(ref js.Ref) SVGAnimatedLengthList { 471 this.ref = ref 472 return this 473 } 474 475 func (this SVGAnimatedLengthList) Free() { 476 this.ref.Free() 477 } 478 479 // BaseVal returns the value of property "SVGAnimatedLengthList.baseVal". 480 // 481 // It returns ok=false if there is no such property. 482 func (this SVGAnimatedLengthList) BaseVal() (ret SVGLengthList, ok bool) { 483 ok = js.True == bindings.GetSVGAnimatedLengthListBaseVal( 484 this.ref, js.Pointer(&ret), 485 ) 486 return 487 } 488 489 // AnimVal returns the value of property "SVGAnimatedLengthList.animVal". 490 // 491 // It returns ok=false if there is no such property. 492 func (this SVGAnimatedLengthList) AnimVal() (ret SVGLengthList, ok bool) { 493 ok = js.True == bindings.GetSVGAnimatedLengthListAnimVal( 494 this.ref, js.Pointer(&ret), 495 ) 496 return 497 } 498 499 type SVGAnimatedNumber struct { 500 ref js.Ref 501 } 502 503 func (this SVGAnimatedNumber) Once() SVGAnimatedNumber { 504 this.ref.Once() 505 return this 506 } 507 508 func (this SVGAnimatedNumber) Ref() js.Ref { 509 return this.ref 510 } 511 512 func (this SVGAnimatedNumber) FromRef(ref js.Ref) SVGAnimatedNumber { 513 this.ref = ref 514 return this 515 } 516 517 func (this SVGAnimatedNumber) Free() { 518 this.ref.Free() 519 } 520 521 // BaseVal returns the value of property "SVGAnimatedNumber.baseVal". 522 // 523 // It returns ok=false if there is no such property. 524 func (this SVGAnimatedNumber) BaseVal() (ret float32, ok bool) { 525 ok = js.True == bindings.GetSVGAnimatedNumberBaseVal( 526 this.ref, js.Pointer(&ret), 527 ) 528 return 529 } 530 531 // SetBaseVal sets the value of property "SVGAnimatedNumber.baseVal" to val. 532 // 533 // It returns false if the property cannot be set. 534 func (this SVGAnimatedNumber) SetBaseVal(val float32) bool { 535 return js.True == bindings.SetSVGAnimatedNumberBaseVal( 536 this.ref, 537 float32(val), 538 ) 539 } 540 541 // AnimVal returns the value of property "SVGAnimatedNumber.animVal". 542 // 543 // It returns ok=false if there is no such property. 544 func (this SVGAnimatedNumber) AnimVal() (ret float32, ok bool) { 545 ok = js.True == bindings.GetSVGAnimatedNumberAnimVal( 546 this.ref, js.Pointer(&ret), 547 ) 548 return 549 } 550 551 type SVGNumberList struct { 552 ref js.Ref 553 } 554 555 func (this SVGNumberList) Once() SVGNumberList { 556 this.ref.Once() 557 return this 558 } 559 560 func (this SVGNumberList) Ref() js.Ref { 561 return this.ref 562 } 563 564 func (this SVGNumberList) FromRef(ref js.Ref) SVGNumberList { 565 this.ref = ref 566 return this 567 } 568 569 func (this SVGNumberList) Free() { 570 this.ref.Free() 571 } 572 573 // Length returns the value of property "SVGNumberList.length". 574 // 575 // It returns ok=false if there is no such property. 576 func (this SVGNumberList) Length() (ret uint32, ok bool) { 577 ok = js.True == bindings.GetSVGNumberListLength( 578 this.ref, js.Pointer(&ret), 579 ) 580 return 581 } 582 583 // NumberOfItems returns the value of property "SVGNumberList.numberOfItems". 584 // 585 // It returns ok=false if there is no such property. 586 func (this SVGNumberList) NumberOfItems() (ret uint32, ok bool) { 587 ok = js.True == bindings.GetSVGNumberListNumberOfItems( 588 this.ref, js.Pointer(&ret), 589 ) 590 return 591 } 592 593 // HasFuncClear returns true if the method "SVGNumberList.clear" exists. 594 func (this SVGNumberList) HasFuncClear() bool { 595 return js.True == bindings.HasFuncSVGNumberListClear( 596 this.ref, 597 ) 598 } 599 600 // FuncClear returns the method "SVGNumberList.clear". 601 func (this SVGNumberList) FuncClear() (fn js.Func[func()]) { 602 bindings.FuncSVGNumberListClear( 603 this.ref, js.Pointer(&fn), 604 ) 605 return 606 } 607 608 // Clear calls the method "SVGNumberList.clear". 609 func (this SVGNumberList) Clear() (ret js.Void) { 610 bindings.CallSVGNumberListClear( 611 this.ref, js.Pointer(&ret), 612 ) 613 614 return 615 } 616 617 // TryClear calls the method "SVGNumberList.clear" 618 // in a try/catch block and returns (_, err, ok = false) when it went through 619 // the catch clause. 620 func (this SVGNumberList) TryClear() (ret js.Void, exception js.Any, ok bool) { 621 ok = js.True == bindings.TrySVGNumberListClear( 622 this.ref, js.Pointer(&ret), js.Pointer(&exception), 623 ) 624 625 return 626 } 627 628 // HasFuncInitialize returns true if the method "SVGNumberList.initialize" exists. 629 func (this SVGNumberList) HasFuncInitialize() bool { 630 return js.True == bindings.HasFuncSVGNumberListInitialize( 631 this.ref, 632 ) 633 } 634 635 // FuncInitialize returns the method "SVGNumberList.initialize". 636 func (this SVGNumberList) FuncInitialize() (fn js.Func[func(newItem SVGNumber) SVGNumber]) { 637 bindings.FuncSVGNumberListInitialize( 638 this.ref, js.Pointer(&fn), 639 ) 640 return 641 } 642 643 // Initialize calls the method "SVGNumberList.initialize". 644 func (this SVGNumberList) Initialize(newItem SVGNumber) (ret SVGNumber) { 645 bindings.CallSVGNumberListInitialize( 646 this.ref, js.Pointer(&ret), 647 newItem.Ref(), 648 ) 649 650 return 651 } 652 653 // TryInitialize calls the method "SVGNumberList.initialize" 654 // in a try/catch block and returns (_, err, ok = false) when it went through 655 // the catch clause. 656 func (this SVGNumberList) TryInitialize(newItem SVGNumber) (ret SVGNumber, exception js.Any, ok bool) { 657 ok = js.True == bindings.TrySVGNumberListInitialize( 658 this.ref, js.Pointer(&ret), js.Pointer(&exception), 659 newItem.Ref(), 660 ) 661 662 return 663 } 664 665 // HasFuncGetItem returns true if the method "SVGNumberList.getItem" exists. 666 func (this SVGNumberList) HasFuncGetItem() bool { 667 return js.True == bindings.HasFuncSVGNumberListGetItem( 668 this.ref, 669 ) 670 } 671 672 // FuncGetItem returns the method "SVGNumberList.getItem". 673 func (this SVGNumberList) FuncGetItem() (fn js.Func[func(index uint32) SVGNumber]) { 674 bindings.FuncSVGNumberListGetItem( 675 this.ref, js.Pointer(&fn), 676 ) 677 return 678 } 679 680 // GetItem calls the method "SVGNumberList.getItem". 681 func (this SVGNumberList) GetItem(index uint32) (ret SVGNumber) { 682 bindings.CallSVGNumberListGetItem( 683 this.ref, js.Pointer(&ret), 684 uint32(index), 685 ) 686 687 return 688 } 689 690 // TryGetItem calls the method "SVGNumberList.getItem" 691 // in a try/catch block and returns (_, err, ok = false) when it went through 692 // the catch clause. 693 func (this SVGNumberList) TryGetItem(index uint32) (ret SVGNumber, exception js.Any, ok bool) { 694 ok = js.True == bindings.TrySVGNumberListGetItem( 695 this.ref, js.Pointer(&ret), js.Pointer(&exception), 696 uint32(index), 697 ) 698 699 return 700 } 701 702 // HasFuncInsertItemBefore returns true if the method "SVGNumberList.insertItemBefore" exists. 703 func (this SVGNumberList) HasFuncInsertItemBefore() bool { 704 return js.True == bindings.HasFuncSVGNumberListInsertItemBefore( 705 this.ref, 706 ) 707 } 708 709 // FuncInsertItemBefore returns the method "SVGNumberList.insertItemBefore". 710 func (this SVGNumberList) FuncInsertItemBefore() (fn js.Func[func(newItem SVGNumber, index uint32) SVGNumber]) { 711 bindings.FuncSVGNumberListInsertItemBefore( 712 this.ref, js.Pointer(&fn), 713 ) 714 return 715 } 716 717 // InsertItemBefore calls the method "SVGNumberList.insertItemBefore". 718 func (this SVGNumberList) InsertItemBefore(newItem SVGNumber, index uint32) (ret SVGNumber) { 719 bindings.CallSVGNumberListInsertItemBefore( 720 this.ref, js.Pointer(&ret), 721 newItem.Ref(), 722 uint32(index), 723 ) 724 725 return 726 } 727 728 // TryInsertItemBefore calls the method "SVGNumberList.insertItemBefore" 729 // in a try/catch block and returns (_, err, ok = false) when it went through 730 // the catch clause. 731 func (this SVGNumberList) TryInsertItemBefore(newItem SVGNumber, index uint32) (ret SVGNumber, exception js.Any, ok bool) { 732 ok = js.True == bindings.TrySVGNumberListInsertItemBefore( 733 this.ref, js.Pointer(&ret), js.Pointer(&exception), 734 newItem.Ref(), 735 uint32(index), 736 ) 737 738 return 739 } 740 741 // HasFuncReplaceItem returns true if the method "SVGNumberList.replaceItem" exists. 742 func (this SVGNumberList) HasFuncReplaceItem() bool { 743 return js.True == bindings.HasFuncSVGNumberListReplaceItem( 744 this.ref, 745 ) 746 } 747 748 // FuncReplaceItem returns the method "SVGNumberList.replaceItem". 749 func (this SVGNumberList) FuncReplaceItem() (fn js.Func[func(newItem SVGNumber, index uint32) SVGNumber]) { 750 bindings.FuncSVGNumberListReplaceItem( 751 this.ref, js.Pointer(&fn), 752 ) 753 return 754 } 755 756 // ReplaceItem calls the method "SVGNumberList.replaceItem". 757 func (this SVGNumberList) ReplaceItem(newItem SVGNumber, index uint32) (ret SVGNumber) { 758 bindings.CallSVGNumberListReplaceItem( 759 this.ref, js.Pointer(&ret), 760 newItem.Ref(), 761 uint32(index), 762 ) 763 764 return 765 } 766 767 // TryReplaceItem calls the method "SVGNumberList.replaceItem" 768 // in a try/catch block and returns (_, err, ok = false) when it went through 769 // the catch clause. 770 func (this SVGNumberList) TryReplaceItem(newItem SVGNumber, index uint32) (ret SVGNumber, exception js.Any, ok bool) { 771 ok = js.True == bindings.TrySVGNumberListReplaceItem( 772 this.ref, js.Pointer(&ret), js.Pointer(&exception), 773 newItem.Ref(), 774 uint32(index), 775 ) 776 777 return 778 } 779 780 // HasFuncRemoveItem returns true if the method "SVGNumberList.removeItem" exists. 781 func (this SVGNumberList) HasFuncRemoveItem() bool { 782 return js.True == bindings.HasFuncSVGNumberListRemoveItem( 783 this.ref, 784 ) 785 } 786 787 // FuncRemoveItem returns the method "SVGNumberList.removeItem". 788 func (this SVGNumberList) FuncRemoveItem() (fn js.Func[func(index uint32) SVGNumber]) { 789 bindings.FuncSVGNumberListRemoveItem( 790 this.ref, js.Pointer(&fn), 791 ) 792 return 793 } 794 795 // RemoveItem calls the method "SVGNumberList.removeItem". 796 func (this SVGNumberList) RemoveItem(index uint32) (ret SVGNumber) { 797 bindings.CallSVGNumberListRemoveItem( 798 this.ref, js.Pointer(&ret), 799 uint32(index), 800 ) 801 802 return 803 } 804 805 // TryRemoveItem calls the method "SVGNumberList.removeItem" 806 // in a try/catch block and returns (_, err, ok = false) when it went through 807 // the catch clause. 808 func (this SVGNumberList) TryRemoveItem(index uint32) (ret SVGNumber, exception js.Any, ok bool) { 809 ok = js.True == bindings.TrySVGNumberListRemoveItem( 810 this.ref, js.Pointer(&ret), js.Pointer(&exception), 811 uint32(index), 812 ) 813 814 return 815 } 816 817 // HasFuncAppendItem returns true if the method "SVGNumberList.appendItem" exists. 818 func (this SVGNumberList) HasFuncAppendItem() bool { 819 return js.True == bindings.HasFuncSVGNumberListAppendItem( 820 this.ref, 821 ) 822 } 823 824 // FuncAppendItem returns the method "SVGNumberList.appendItem". 825 func (this SVGNumberList) FuncAppendItem() (fn js.Func[func(newItem SVGNumber) SVGNumber]) { 826 bindings.FuncSVGNumberListAppendItem( 827 this.ref, js.Pointer(&fn), 828 ) 829 return 830 } 831 832 // AppendItem calls the method "SVGNumberList.appendItem". 833 func (this SVGNumberList) AppendItem(newItem SVGNumber) (ret SVGNumber) { 834 bindings.CallSVGNumberListAppendItem( 835 this.ref, js.Pointer(&ret), 836 newItem.Ref(), 837 ) 838 839 return 840 } 841 842 // TryAppendItem calls the method "SVGNumberList.appendItem" 843 // in a try/catch block and returns (_, err, ok = false) when it went through 844 // the catch clause. 845 func (this SVGNumberList) TryAppendItem(newItem SVGNumber) (ret SVGNumber, exception js.Any, ok bool) { 846 ok = js.True == bindings.TrySVGNumberListAppendItem( 847 this.ref, js.Pointer(&ret), js.Pointer(&exception), 848 newItem.Ref(), 849 ) 850 851 return 852 } 853 854 // HasFuncSet returns true if the method "SVGNumberList." exists. 855 func (this SVGNumberList) HasFuncSet() bool { 856 return js.True == bindings.HasFuncSVGNumberListSet( 857 this.ref, 858 ) 859 } 860 861 // FuncSet returns the method "SVGNumberList.". 862 func (this SVGNumberList) FuncSet() (fn js.Func[func(index uint32, newItem SVGNumber)]) { 863 bindings.FuncSVGNumberListSet( 864 this.ref, js.Pointer(&fn), 865 ) 866 return 867 } 868 869 // Set calls the method "SVGNumberList.". 870 func (this SVGNumberList) Set(index uint32, newItem SVGNumber) (ret js.Void) { 871 bindings.CallSVGNumberListSet( 872 this.ref, js.Pointer(&ret), 873 uint32(index), 874 newItem.Ref(), 875 ) 876 877 return 878 } 879 880 // TrySet calls the method "SVGNumberList." 881 // in a try/catch block and returns (_, err, ok = false) when it went through 882 // the catch clause. 883 func (this SVGNumberList) TrySet(index uint32, newItem SVGNumber) (ret js.Void, exception js.Any, ok bool) { 884 ok = js.True == bindings.TrySVGNumberListSet( 885 this.ref, js.Pointer(&ret), js.Pointer(&exception), 886 uint32(index), 887 newItem.Ref(), 888 ) 889 890 return 891 } 892 893 type SVGAnimatedNumberList struct { 894 ref js.Ref 895 } 896 897 func (this SVGAnimatedNumberList) Once() SVGAnimatedNumberList { 898 this.ref.Once() 899 return this 900 } 901 902 func (this SVGAnimatedNumberList) Ref() js.Ref { 903 return this.ref 904 } 905 906 func (this SVGAnimatedNumberList) FromRef(ref js.Ref) SVGAnimatedNumberList { 907 this.ref = ref 908 return this 909 } 910 911 func (this SVGAnimatedNumberList) Free() { 912 this.ref.Free() 913 } 914 915 // BaseVal returns the value of property "SVGAnimatedNumberList.baseVal". 916 // 917 // It returns ok=false if there is no such property. 918 func (this SVGAnimatedNumberList) BaseVal() (ret SVGNumberList, ok bool) { 919 ok = js.True == bindings.GetSVGAnimatedNumberListBaseVal( 920 this.ref, js.Pointer(&ret), 921 ) 922 return 923 } 924 925 // AnimVal returns the value of property "SVGAnimatedNumberList.animVal". 926 // 927 // It returns ok=false if there is no such property. 928 func (this SVGAnimatedNumberList) AnimVal() (ret SVGNumberList, ok bool) { 929 ok = js.True == bindings.GetSVGAnimatedNumberListAnimVal( 930 this.ref, js.Pointer(&ret), 931 ) 932 return 933 } 934 935 type SVGTransformList struct { 936 ref js.Ref 937 } 938 939 func (this SVGTransformList) Once() SVGTransformList { 940 this.ref.Once() 941 return this 942 } 943 944 func (this SVGTransformList) Ref() js.Ref { 945 return this.ref 946 } 947 948 func (this SVGTransformList) FromRef(ref js.Ref) SVGTransformList { 949 this.ref = ref 950 return this 951 } 952 953 func (this SVGTransformList) Free() { 954 this.ref.Free() 955 } 956 957 // Length returns the value of property "SVGTransformList.length". 958 // 959 // It returns ok=false if there is no such property. 960 func (this SVGTransformList) Length() (ret uint32, ok bool) { 961 ok = js.True == bindings.GetSVGTransformListLength( 962 this.ref, js.Pointer(&ret), 963 ) 964 return 965 } 966 967 // NumberOfItems returns the value of property "SVGTransformList.numberOfItems". 968 // 969 // It returns ok=false if there is no such property. 970 func (this SVGTransformList) NumberOfItems() (ret uint32, ok bool) { 971 ok = js.True == bindings.GetSVGTransformListNumberOfItems( 972 this.ref, js.Pointer(&ret), 973 ) 974 return 975 } 976 977 // HasFuncClear returns true if the method "SVGTransformList.clear" exists. 978 func (this SVGTransformList) HasFuncClear() bool { 979 return js.True == bindings.HasFuncSVGTransformListClear( 980 this.ref, 981 ) 982 } 983 984 // FuncClear returns the method "SVGTransformList.clear". 985 func (this SVGTransformList) FuncClear() (fn js.Func[func()]) { 986 bindings.FuncSVGTransformListClear( 987 this.ref, js.Pointer(&fn), 988 ) 989 return 990 } 991 992 // Clear calls the method "SVGTransformList.clear". 993 func (this SVGTransformList) Clear() (ret js.Void) { 994 bindings.CallSVGTransformListClear( 995 this.ref, js.Pointer(&ret), 996 ) 997 998 return 999 } 1000 1001 // TryClear calls the method "SVGTransformList.clear" 1002 // in a try/catch block and returns (_, err, ok = false) when it went through 1003 // the catch clause. 1004 func (this SVGTransformList) TryClear() (ret js.Void, exception js.Any, ok bool) { 1005 ok = js.True == bindings.TrySVGTransformListClear( 1006 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1007 ) 1008 1009 return 1010 } 1011 1012 // HasFuncInitialize returns true if the method "SVGTransformList.initialize" exists. 1013 func (this SVGTransformList) HasFuncInitialize() bool { 1014 return js.True == bindings.HasFuncSVGTransformListInitialize( 1015 this.ref, 1016 ) 1017 } 1018 1019 // FuncInitialize returns the method "SVGTransformList.initialize". 1020 func (this SVGTransformList) FuncInitialize() (fn js.Func[func(newItem SVGTransform) SVGTransform]) { 1021 bindings.FuncSVGTransformListInitialize( 1022 this.ref, js.Pointer(&fn), 1023 ) 1024 return 1025 } 1026 1027 // Initialize calls the method "SVGTransformList.initialize". 1028 func (this SVGTransformList) Initialize(newItem SVGTransform) (ret SVGTransform) { 1029 bindings.CallSVGTransformListInitialize( 1030 this.ref, js.Pointer(&ret), 1031 newItem.Ref(), 1032 ) 1033 1034 return 1035 } 1036 1037 // TryInitialize calls the method "SVGTransformList.initialize" 1038 // in a try/catch block and returns (_, err, ok = false) when it went through 1039 // the catch clause. 1040 func (this SVGTransformList) TryInitialize(newItem SVGTransform) (ret SVGTransform, exception js.Any, ok bool) { 1041 ok = js.True == bindings.TrySVGTransformListInitialize( 1042 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1043 newItem.Ref(), 1044 ) 1045 1046 return 1047 } 1048 1049 // HasFuncGetItem returns true if the method "SVGTransformList.getItem" exists. 1050 func (this SVGTransformList) HasFuncGetItem() bool { 1051 return js.True == bindings.HasFuncSVGTransformListGetItem( 1052 this.ref, 1053 ) 1054 } 1055 1056 // FuncGetItem returns the method "SVGTransformList.getItem". 1057 func (this SVGTransformList) FuncGetItem() (fn js.Func[func(index uint32) SVGTransform]) { 1058 bindings.FuncSVGTransformListGetItem( 1059 this.ref, js.Pointer(&fn), 1060 ) 1061 return 1062 } 1063 1064 // GetItem calls the method "SVGTransformList.getItem". 1065 func (this SVGTransformList) GetItem(index uint32) (ret SVGTransform) { 1066 bindings.CallSVGTransformListGetItem( 1067 this.ref, js.Pointer(&ret), 1068 uint32(index), 1069 ) 1070 1071 return 1072 } 1073 1074 // TryGetItem calls the method "SVGTransformList.getItem" 1075 // in a try/catch block and returns (_, err, ok = false) when it went through 1076 // the catch clause. 1077 func (this SVGTransformList) TryGetItem(index uint32) (ret SVGTransform, exception js.Any, ok bool) { 1078 ok = js.True == bindings.TrySVGTransformListGetItem( 1079 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1080 uint32(index), 1081 ) 1082 1083 return 1084 } 1085 1086 // HasFuncInsertItemBefore returns true if the method "SVGTransformList.insertItemBefore" exists. 1087 func (this SVGTransformList) HasFuncInsertItemBefore() bool { 1088 return js.True == bindings.HasFuncSVGTransformListInsertItemBefore( 1089 this.ref, 1090 ) 1091 } 1092 1093 // FuncInsertItemBefore returns the method "SVGTransformList.insertItemBefore". 1094 func (this SVGTransformList) FuncInsertItemBefore() (fn js.Func[func(newItem SVGTransform, index uint32) SVGTransform]) { 1095 bindings.FuncSVGTransformListInsertItemBefore( 1096 this.ref, js.Pointer(&fn), 1097 ) 1098 return 1099 } 1100 1101 // InsertItemBefore calls the method "SVGTransformList.insertItemBefore". 1102 func (this SVGTransformList) InsertItemBefore(newItem SVGTransform, index uint32) (ret SVGTransform) { 1103 bindings.CallSVGTransformListInsertItemBefore( 1104 this.ref, js.Pointer(&ret), 1105 newItem.Ref(), 1106 uint32(index), 1107 ) 1108 1109 return 1110 } 1111 1112 // TryInsertItemBefore calls the method "SVGTransformList.insertItemBefore" 1113 // in a try/catch block and returns (_, err, ok = false) when it went through 1114 // the catch clause. 1115 func (this SVGTransformList) TryInsertItemBefore(newItem SVGTransform, index uint32) (ret SVGTransform, exception js.Any, ok bool) { 1116 ok = js.True == bindings.TrySVGTransformListInsertItemBefore( 1117 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1118 newItem.Ref(), 1119 uint32(index), 1120 ) 1121 1122 return 1123 } 1124 1125 // HasFuncReplaceItem returns true if the method "SVGTransformList.replaceItem" exists. 1126 func (this SVGTransformList) HasFuncReplaceItem() bool { 1127 return js.True == bindings.HasFuncSVGTransformListReplaceItem( 1128 this.ref, 1129 ) 1130 } 1131 1132 // FuncReplaceItem returns the method "SVGTransformList.replaceItem". 1133 func (this SVGTransformList) FuncReplaceItem() (fn js.Func[func(newItem SVGTransform, index uint32) SVGTransform]) { 1134 bindings.FuncSVGTransformListReplaceItem( 1135 this.ref, js.Pointer(&fn), 1136 ) 1137 return 1138 } 1139 1140 // ReplaceItem calls the method "SVGTransformList.replaceItem". 1141 func (this SVGTransformList) ReplaceItem(newItem SVGTransform, index uint32) (ret SVGTransform) { 1142 bindings.CallSVGTransformListReplaceItem( 1143 this.ref, js.Pointer(&ret), 1144 newItem.Ref(), 1145 uint32(index), 1146 ) 1147 1148 return 1149 } 1150 1151 // TryReplaceItem calls the method "SVGTransformList.replaceItem" 1152 // in a try/catch block and returns (_, err, ok = false) when it went through 1153 // the catch clause. 1154 func (this SVGTransformList) TryReplaceItem(newItem SVGTransform, index uint32) (ret SVGTransform, exception js.Any, ok bool) { 1155 ok = js.True == bindings.TrySVGTransformListReplaceItem( 1156 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1157 newItem.Ref(), 1158 uint32(index), 1159 ) 1160 1161 return 1162 } 1163 1164 // HasFuncRemoveItem returns true if the method "SVGTransformList.removeItem" exists. 1165 func (this SVGTransformList) HasFuncRemoveItem() bool { 1166 return js.True == bindings.HasFuncSVGTransformListRemoveItem( 1167 this.ref, 1168 ) 1169 } 1170 1171 // FuncRemoveItem returns the method "SVGTransformList.removeItem". 1172 func (this SVGTransformList) FuncRemoveItem() (fn js.Func[func(index uint32) SVGTransform]) { 1173 bindings.FuncSVGTransformListRemoveItem( 1174 this.ref, js.Pointer(&fn), 1175 ) 1176 return 1177 } 1178 1179 // RemoveItem calls the method "SVGTransformList.removeItem". 1180 func (this SVGTransformList) RemoveItem(index uint32) (ret SVGTransform) { 1181 bindings.CallSVGTransformListRemoveItem( 1182 this.ref, js.Pointer(&ret), 1183 uint32(index), 1184 ) 1185 1186 return 1187 } 1188 1189 // TryRemoveItem calls the method "SVGTransformList.removeItem" 1190 // in a try/catch block and returns (_, err, ok = false) when it went through 1191 // the catch clause. 1192 func (this SVGTransformList) TryRemoveItem(index uint32) (ret SVGTransform, exception js.Any, ok bool) { 1193 ok = js.True == bindings.TrySVGTransformListRemoveItem( 1194 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1195 uint32(index), 1196 ) 1197 1198 return 1199 } 1200 1201 // HasFuncAppendItem returns true if the method "SVGTransformList.appendItem" exists. 1202 func (this SVGTransformList) HasFuncAppendItem() bool { 1203 return js.True == bindings.HasFuncSVGTransformListAppendItem( 1204 this.ref, 1205 ) 1206 } 1207 1208 // FuncAppendItem returns the method "SVGTransformList.appendItem". 1209 func (this SVGTransformList) FuncAppendItem() (fn js.Func[func(newItem SVGTransform) SVGTransform]) { 1210 bindings.FuncSVGTransformListAppendItem( 1211 this.ref, js.Pointer(&fn), 1212 ) 1213 return 1214 } 1215 1216 // AppendItem calls the method "SVGTransformList.appendItem". 1217 func (this SVGTransformList) AppendItem(newItem SVGTransform) (ret SVGTransform) { 1218 bindings.CallSVGTransformListAppendItem( 1219 this.ref, js.Pointer(&ret), 1220 newItem.Ref(), 1221 ) 1222 1223 return 1224 } 1225 1226 // TryAppendItem calls the method "SVGTransformList.appendItem" 1227 // in a try/catch block and returns (_, err, ok = false) when it went through 1228 // the catch clause. 1229 func (this SVGTransformList) TryAppendItem(newItem SVGTransform) (ret SVGTransform, exception js.Any, ok bool) { 1230 ok = js.True == bindings.TrySVGTransformListAppendItem( 1231 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1232 newItem.Ref(), 1233 ) 1234 1235 return 1236 } 1237 1238 // HasFuncSet returns true if the method "SVGTransformList." exists. 1239 func (this SVGTransformList) HasFuncSet() bool { 1240 return js.True == bindings.HasFuncSVGTransformListSet( 1241 this.ref, 1242 ) 1243 } 1244 1245 // FuncSet returns the method "SVGTransformList.". 1246 func (this SVGTransformList) FuncSet() (fn js.Func[func(index uint32, newItem SVGTransform)]) { 1247 bindings.FuncSVGTransformListSet( 1248 this.ref, js.Pointer(&fn), 1249 ) 1250 return 1251 } 1252 1253 // Set calls the method "SVGTransformList.". 1254 func (this SVGTransformList) Set(index uint32, newItem SVGTransform) (ret js.Void) { 1255 bindings.CallSVGTransformListSet( 1256 this.ref, js.Pointer(&ret), 1257 uint32(index), 1258 newItem.Ref(), 1259 ) 1260 1261 return 1262 } 1263 1264 // TrySet calls the method "SVGTransformList." 1265 // in a try/catch block and returns (_, err, ok = false) when it went through 1266 // the catch clause. 1267 func (this SVGTransformList) TrySet(index uint32, newItem SVGTransform) (ret js.Void, exception js.Any, ok bool) { 1268 ok = js.True == bindings.TrySVGTransformListSet( 1269 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1270 uint32(index), 1271 newItem.Ref(), 1272 ) 1273 1274 return 1275 } 1276 1277 // HasFuncCreateSVGTransformFromMatrix returns true if the method "SVGTransformList.createSVGTransformFromMatrix" exists. 1278 func (this SVGTransformList) HasFuncCreateSVGTransformFromMatrix() bool { 1279 return js.True == bindings.HasFuncSVGTransformListCreateSVGTransformFromMatrix( 1280 this.ref, 1281 ) 1282 } 1283 1284 // FuncCreateSVGTransformFromMatrix returns the method "SVGTransformList.createSVGTransformFromMatrix". 1285 func (this SVGTransformList) FuncCreateSVGTransformFromMatrix() (fn js.Func[func(matrix DOMMatrix2DInit) SVGTransform]) { 1286 bindings.FuncSVGTransformListCreateSVGTransformFromMatrix( 1287 this.ref, js.Pointer(&fn), 1288 ) 1289 return 1290 } 1291 1292 // CreateSVGTransformFromMatrix calls the method "SVGTransformList.createSVGTransformFromMatrix". 1293 func (this SVGTransformList) CreateSVGTransformFromMatrix(matrix DOMMatrix2DInit) (ret SVGTransform) { 1294 bindings.CallSVGTransformListCreateSVGTransformFromMatrix( 1295 this.ref, js.Pointer(&ret), 1296 js.Pointer(&matrix), 1297 ) 1298 1299 return 1300 } 1301 1302 // TryCreateSVGTransformFromMatrix calls the method "SVGTransformList.createSVGTransformFromMatrix" 1303 // in a try/catch block and returns (_, err, ok = false) when it went through 1304 // the catch clause. 1305 func (this SVGTransformList) TryCreateSVGTransformFromMatrix(matrix DOMMatrix2DInit) (ret SVGTransform, exception js.Any, ok bool) { 1306 ok = js.True == bindings.TrySVGTransformListCreateSVGTransformFromMatrix( 1307 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1308 js.Pointer(&matrix), 1309 ) 1310 1311 return 1312 } 1313 1314 // HasFuncCreateSVGTransformFromMatrix1 returns true if the method "SVGTransformList.createSVGTransformFromMatrix" exists. 1315 func (this SVGTransformList) HasFuncCreateSVGTransformFromMatrix1() bool { 1316 return js.True == bindings.HasFuncSVGTransformListCreateSVGTransformFromMatrix1( 1317 this.ref, 1318 ) 1319 } 1320 1321 // FuncCreateSVGTransformFromMatrix1 returns the method "SVGTransformList.createSVGTransformFromMatrix". 1322 func (this SVGTransformList) FuncCreateSVGTransformFromMatrix1() (fn js.Func[func() SVGTransform]) { 1323 bindings.FuncSVGTransformListCreateSVGTransformFromMatrix1( 1324 this.ref, js.Pointer(&fn), 1325 ) 1326 return 1327 } 1328 1329 // CreateSVGTransformFromMatrix1 calls the method "SVGTransformList.createSVGTransformFromMatrix". 1330 func (this SVGTransformList) CreateSVGTransformFromMatrix1() (ret SVGTransform) { 1331 bindings.CallSVGTransformListCreateSVGTransformFromMatrix1( 1332 this.ref, js.Pointer(&ret), 1333 ) 1334 1335 return 1336 } 1337 1338 // TryCreateSVGTransformFromMatrix1 calls the method "SVGTransformList.createSVGTransformFromMatrix" 1339 // in a try/catch block and returns (_, err, ok = false) when it went through 1340 // the catch clause. 1341 func (this SVGTransformList) TryCreateSVGTransformFromMatrix1() (ret SVGTransform, exception js.Any, ok bool) { 1342 ok = js.True == bindings.TrySVGTransformListCreateSVGTransformFromMatrix1( 1343 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1344 ) 1345 1346 return 1347 } 1348 1349 // HasFuncConsolidate returns true if the method "SVGTransformList.consolidate" exists. 1350 func (this SVGTransformList) HasFuncConsolidate() bool { 1351 return js.True == bindings.HasFuncSVGTransformListConsolidate( 1352 this.ref, 1353 ) 1354 } 1355 1356 // FuncConsolidate returns the method "SVGTransformList.consolidate". 1357 func (this SVGTransformList) FuncConsolidate() (fn js.Func[func() SVGTransform]) { 1358 bindings.FuncSVGTransformListConsolidate( 1359 this.ref, js.Pointer(&fn), 1360 ) 1361 return 1362 } 1363 1364 // Consolidate calls the method "SVGTransformList.consolidate". 1365 func (this SVGTransformList) Consolidate() (ret SVGTransform) { 1366 bindings.CallSVGTransformListConsolidate( 1367 this.ref, js.Pointer(&ret), 1368 ) 1369 1370 return 1371 } 1372 1373 // TryConsolidate calls the method "SVGTransformList.consolidate" 1374 // in a try/catch block and returns (_, err, ok = false) when it went through 1375 // the catch clause. 1376 func (this SVGTransformList) TryConsolidate() (ret SVGTransform, exception js.Any, ok bool) { 1377 ok = js.True == bindings.TrySVGTransformListConsolidate( 1378 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1379 ) 1380 1381 return 1382 } 1383 1384 type SVGAnimatedTransformList struct { 1385 ref js.Ref 1386 } 1387 1388 func (this SVGAnimatedTransformList) Once() SVGAnimatedTransformList { 1389 this.ref.Once() 1390 return this 1391 } 1392 1393 func (this SVGAnimatedTransformList) Ref() js.Ref { 1394 return this.ref 1395 } 1396 1397 func (this SVGAnimatedTransformList) FromRef(ref js.Ref) SVGAnimatedTransformList { 1398 this.ref = ref 1399 return this 1400 } 1401 1402 func (this SVGAnimatedTransformList) Free() { 1403 this.ref.Free() 1404 } 1405 1406 // BaseVal returns the value of property "SVGAnimatedTransformList.baseVal". 1407 // 1408 // It returns ok=false if there is no such property. 1409 func (this SVGAnimatedTransformList) BaseVal() (ret SVGTransformList, ok bool) { 1410 ok = js.True == bindings.GetSVGAnimatedTransformListBaseVal( 1411 this.ref, js.Pointer(&ret), 1412 ) 1413 return 1414 } 1415 1416 // AnimVal returns the value of property "SVGAnimatedTransformList.animVal". 1417 // 1418 // It returns ok=false if there is no such property. 1419 func (this SVGAnimatedTransformList) AnimVal() (ret SVGTransformList, ok bool) { 1420 ok = js.True == bindings.GetSVGAnimatedTransformListAnimVal( 1421 this.ref, js.Pointer(&ret), 1422 ) 1423 return 1424 } 1425 1426 type SVGStringList struct { 1427 ref js.Ref 1428 } 1429 1430 func (this SVGStringList) Once() SVGStringList { 1431 this.ref.Once() 1432 return this 1433 } 1434 1435 func (this SVGStringList) Ref() js.Ref { 1436 return this.ref 1437 } 1438 1439 func (this SVGStringList) FromRef(ref js.Ref) SVGStringList { 1440 this.ref = ref 1441 return this 1442 } 1443 1444 func (this SVGStringList) Free() { 1445 this.ref.Free() 1446 } 1447 1448 // Length returns the value of property "SVGStringList.length". 1449 // 1450 // It returns ok=false if there is no such property. 1451 func (this SVGStringList) Length() (ret uint32, ok bool) { 1452 ok = js.True == bindings.GetSVGStringListLength( 1453 this.ref, js.Pointer(&ret), 1454 ) 1455 return 1456 } 1457 1458 // NumberOfItems returns the value of property "SVGStringList.numberOfItems". 1459 // 1460 // It returns ok=false if there is no such property. 1461 func (this SVGStringList) NumberOfItems() (ret uint32, ok bool) { 1462 ok = js.True == bindings.GetSVGStringListNumberOfItems( 1463 this.ref, js.Pointer(&ret), 1464 ) 1465 return 1466 } 1467 1468 // HasFuncClear returns true if the method "SVGStringList.clear" exists. 1469 func (this SVGStringList) HasFuncClear() bool { 1470 return js.True == bindings.HasFuncSVGStringListClear( 1471 this.ref, 1472 ) 1473 } 1474 1475 // FuncClear returns the method "SVGStringList.clear". 1476 func (this SVGStringList) FuncClear() (fn js.Func[func()]) { 1477 bindings.FuncSVGStringListClear( 1478 this.ref, js.Pointer(&fn), 1479 ) 1480 return 1481 } 1482 1483 // Clear calls the method "SVGStringList.clear". 1484 func (this SVGStringList) Clear() (ret js.Void) { 1485 bindings.CallSVGStringListClear( 1486 this.ref, js.Pointer(&ret), 1487 ) 1488 1489 return 1490 } 1491 1492 // TryClear calls the method "SVGStringList.clear" 1493 // in a try/catch block and returns (_, err, ok = false) when it went through 1494 // the catch clause. 1495 func (this SVGStringList) TryClear() (ret js.Void, exception js.Any, ok bool) { 1496 ok = js.True == bindings.TrySVGStringListClear( 1497 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1498 ) 1499 1500 return 1501 } 1502 1503 // HasFuncInitialize returns true if the method "SVGStringList.initialize" exists. 1504 func (this SVGStringList) HasFuncInitialize() bool { 1505 return js.True == bindings.HasFuncSVGStringListInitialize( 1506 this.ref, 1507 ) 1508 } 1509 1510 // FuncInitialize returns the method "SVGStringList.initialize". 1511 func (this SVGStringList) FuncInitialize() (fn js.Func[func(newItem js.String) js.String]) { 1512 bindings.FuncSVGStringListInitialize( 1513 this.ref, js.Pointer(&fn), 1514 ) 1515 return 1516 } 1517 1518 // Initialize calls the method "SVGStringList.initialize". 1519 func (this SVGStringList) Initialize(newItem js.String) (ret js.String) { 1520 bindings.CallSVGStringListInitialize( 1521 this.ref, js.Pointer(&ret), 1522 newItem.Ref(), 1523 ) 1524 1525 return 1526 } 1527 1528 // TryInitialize calls the method "SVGStringList.initialize" 1529 // in a try/catch block and returns (_, err, ok = false) when it went through 1530 // the catch clause. 1531 func (this SVGStringList) TryInitialize(newItem js.String) (ret js.String, exception js.Any, ok bool) { 1532 ok = js.True == bindings.TrySVGStringListInitialize( 1533 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1534 newItem.Ref(), 1535 ) 1536 1537 return 1538 } 1539 1540 // HasFuncGetItem returns true if the method "SVGStringList.getItem" exists. 1541 func (this SVGStringList) HasFuncGetItem() bool { 1542 return js.True == bindings.HasFuncSVGStringListGetItem( 1543 this.ref, 1544 ) 1545 } 1546 1547 // FuncGetItem returns the method "SVGStringList.getItem". 1548 func (this SVGStringList) FuncGetItem() (fn js.Func[func(index uint32) js.String]) { 1549 bindings.FuncSVGStringListGetItem( 1550 this.ref, js.Pointer(&fn), 1551 ) 1552 return 1553 } 1554 1555 // GetItem calls the method "SVGStringList.getItem". 1556 func (this SVGStringList) GetItem(index uint32) (ret js.String) { 1557 bindings.CallSVGStringListGetItem( 1558 this.ref, js.Pointer(&ret), 1559 uint32(index), 1560 ) 1561 1562 return 1563 } 1564 1565 // TryGetItem calls the method "SVGStringList.getItem" 1566 // in a try/catch block and returns (_, err, ok = false) when it went through 1567 // the catch clause. 1568 func (this SVGStringList) TryGetItem(index uint32) (ret js.String, exception js.Any, ok bool) { 1569 ok = js.True == bindings.TrySVGStringListGetItem( 1570 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1571 uint32(index), 1572 ) 1573 1574 return 1575 } 1576 1577 // HasFuncInsertItemBefore returns true if the method "SVGStringList.insertItemBefore" exists. 1578 func (this SVGStringList) HasFuncInsertItemBefore() bool { 1579 return js.True == bindings.HasFuncSVGStringListInsertItemBefore( 1580 this.ref, 1581 ) 1582 } 1583 1584 // FuncInsertItemBefore returns the method "SVGStringList.insertItemBefore". 1585 func (this SVGStringList) FuncInsertItemBefore() (fn js.Func[func(newItem js.String, index uint32) js.String]) { 1586 bindings.FuncSVGStringListInsertItemBefore( 1587 this.ref, js.Pointer(&fn), 1588 ) 1589 return 1590 } 1591 1592 // InsertItemBefore calls the method "SVGStringList.insertItemBefore". 1593 func (this SVGStringList) InsertItemBefore(newItem js.String, index uint32) (ret js.String) { 1594 bindings.CallSVGStringListInsertItemBefore( 1595 this.ref, js.Pointer(&ret), 1596 newItem.Ref(), 1597 uint32(index), 1598 ) 1599 1600 return 1601 } 1602 1603 // TryInsertItemBefore calls the method "SVGStringList.insertItemBefore" 1604 // in a try/catch block and returns (_, err, ok = false) when it went through 1605 // the catch clause. 1606 func (this SVGStringList) TryInsertItemBefore(newItem js.String, index uint32) (ret js.String, exception js.Any, ok bool) { 1607 ok = js.True == bindings.TrySVGStringListInsertItemBefore( 1608 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1609 newItem.Ref(), 1610 uint32(index), 1611 ) 1612 1613 return 1614 } 1615 1616 // HasFuncReplaceItem returns true if the method "SVGStringList.replaceItem" exists. 1617 func (this SVGStringList) HasFuncReplaceItem() bool { 1618 return js.True == bindings.HasFuncSVGStringListReplaceItem( 1619 this.ref, 1620 ) 1621 } 1622 1623 // FuncReplaceItem returns the method "SVGStringList.replaceItem". 1624 func (this SVGStringList) FuncReplaceItem() (fn js.Func[func(newItem js.String, index uint32) js.String]) { 1625 bindings.FuncSVGStringListReplaceItem( 1626 this.ref, js.Pointer(&fn), 1627 ) 1628 return 1629 } 1630 1631 // ReplaceItem calls the method "SVGStringList.replaceItem". 1632 func (this SVGStringList) ReplaceItem(newItem js.String, index uint32) (ret js.String) { 1633 bindings.CallSVGStringListReplaceItem( 1634 this.ref, js.Pointer(&ret), 1635 newItem.Ref(), 1636 uint32(index), 1637 ) 1638 1639 return 1640 } 1641 1642 // TryReplaceItem calls the method "SVGStringList.replaceItem" 1643 // in a try/catch block and returns (_, err, ok = false) when it went through 1644 // the catch clause. 1645 func (this SVGStringList) TryReplaceItem(newItem js.String, index uint32) (ret js.String, exception js.Any, ok bool) { 1646 ok = js.True == bindings.TrySVGStringListReplaceItem( 1647 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1648 newItem.Ref(), 1649 uint32(index), 1650 ) 1651 1652 return 1653 } 1654 1655 // HasFuncRemoveItem returns true if the method "SVGStringList.removeItem" exists. 1656 func (this SVGStringList) HasFuncRemoveItem() bool { 1657 return js.True == bindings.HasFuncSVGStringListRemoveItem( 1658 this.ref, 1659 ) 1660 } 1661 1662 // FuncRemoveItem returns the method "SVGStringList.removeItem". 1663 func (this SVGStringList) FuncRemoveItem() (fn js.Func[func(index uint32) js.String]) { 1664 bindings.FuncSVGStringListRemoveItem( 1665 this.ref, js.Pointer(&fn), 1666 ) 1667 return 1668 } 1669 1670 // RemoveItem calls the method "SVGStringList.removeItem". 1671 func (this SVGStringList) RemoveItem(index uint32) (ret js.String) { 1672 bindings.CallSVGStringListRemoveItem( 1673 this.ref, js.Pointer(&ret), 1674 uint32(index), 1675 ) 1676 1677 return 1678 } 1679 1680 // TryRemoveItem calls the method "SVGStringList.removeItem" 1681 // in a try/catch block and returns (_, err, ok = false) when it went through 1682 // the catch clause. 1683 func (this SVGStringList) TryRemoveItem(index uint32) (ret js.String, exception js.Any, ok bool) { 1684 ok = js.True == bindings.TrySVGStringListRemoveItem( 1685 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1686 uint32(index), 1687 ) 1688 1689 return 1690 } 1691 1692 // HasFuncAppendItem returns true if the method "SVGStringList.appendItem" exists. 1693 func (this SVGStringList) HasFuncAppendItem() bool { 1694 return js.True == bindings.HasFuncSVGStringListAppendItem( 1695 this.ref, 1696 ) 1697 } 1698 1699 // FuncAppendItem returns the method "SVGStringList.appendItem". 1700 func (this SVGStringList) FuncAppendItem() (fn js.Func[func(newItem js.String) js.String]) { 1701 bindings.FuncSVGStringListAppendItem( 1702 this.ref, js.Pointer(&fn), 1703 ) 1704 return 1705 } 1706 1707 // AppendItem calls the method "SVGStringList.appendItem". 1708 func (this SVGStringList) AppendItem(newItem js.String) (ret js.String) { 1709 bindings.CallSVGStringListAppendItem( 1710 this.ref, js.Pointer(&ret), 1711 newItem.Ref(), 1712 ) 1713 1714 return 1715 } 1716 1717 // TryAppendItem calls the method "SVGStringList.appendItem" 1718 // in a try/catch block and returns (_, err, ok = false) when it went through 1719 // the catch clause. 1720 func (this SVGStringList) TryAppendItem(newItem js.String) (ret js.String, exception js.Any, ok bool) { 1721 ok = js.True == bindings.TrySVGStringListAppendItem( 1722 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1723 newItem.Ref(), 1724 ) 1725 1726 return 1727 } 1728 1729 // HasFuncSet returns true if the method "SVGStringList." exists. 1730 func (this SVGStringList) HasFuncSet() bool { 1731 return js.True == bindings.HasFuncSVGStringListSet( 1732 this.ref, 1733 ) 1734 } 1735 1736 // FuncSet returns the method "SVGStringList.". 1737 func (this SVGStringList) FuncSet() (fn js.Func[func(index uint32, newItem js.String)]) { 1738 bindings.FuncSVGStringListSet( 1739 this.ref, js.Pointer(&fn), 1740 ) 1741 return 1742 } 1743 1744 // Set calls the method "SVGStringList.". 1745 func (this SVGStringList) Set(index uint32, newItem js.String) (ret js.Void) { 1746 bindings.CallSVGStringListSet( 1747 this.ref, js.Pointer(&ret), 1748 uint32(index), 1749 newItem.Ref(), 1750 ) 1751 1752 return 1753 } 1754 1755 // TrySet calls the method "SVGStringList." 1756 // in a try/catch block and returns (_, err, ok = false) when it went through 1757 // the catch clause. 1758 func (this SVGStringList) TrySet(index uint32, newItem js.String) (ret js.Void, exception js.Any, ok bool) { 1759 ok = js.True == bindings.TrySVGStringListSet( 1760 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1761 uint32(index), 1762 newItem.Ref(), 1763 ) 1764 1765 return 1766 } 1767 1768 type SVGAnimationElement struct { 1769 SVGElement 1770 } 1771 1772 func (this SVGAnimationElement) Once() SVGAnimationElement { 1773 this.ref.Once() 1774 return this 1775 } 1776 1777 func (this SVGAnimationElement) Ref() js.Ref { 1778 return this.SVGElement.Ref() 1779 } 1780 1781 func (this SVGAnimationElement) FromRef(ref js.Ref) SVGAnimationElement { 1782 this.SVGElement = this.SVGElement.FromRef(ref) 1783 return this 1784 } 1785 1786 func (this SVGAnimationElement) Free() { 1787 this.ref.Free() 1788 } 1789 1790 // TargetElement returns the value of property "SVGAnimationElement.targetElement". 1791 // 1792 // It returns ok=false if there is no such property. 1793 func (this SVGAnimationElement) TargetElement() (ret SVGElement, ok bool) { 1794 ok = js.True == bindings.GetSVGAnimationElementTargetElement( 1795 this.ref, js.Pointer(&ret), 1796 ) 1797 return 1798 } 1799 1800 // RequiredExtensions returns the value of property "SVGAnimationElement.requiredExtensions". 1801 // 1802 // It returns ok=false if there is no such property. 1803 func (this SVGAnimationElement) RequiredExtensions() (ret SVGStringList, ok bool) { 1804 ok = js.True == bindings.GetSVGAnimationElementRequiredExtensions( 1805 this.ref, js.Pointer(&ret), 1806 ) 1807 return 1808 } 1809 1810 // SystemLanguage returns the value of property "SVGAnimationElement.systemLanguage". 1811 // 1812 // It returns ok=false if there is no such property. 1813 func (this SVGAnimationElement) SystemLanguage() (ret SVGStringList, ok bool) { 1814 ok = js.True == bindings.GetSVGAnimationElementSystemLanguage( 1815 this.ref, js.Pointer(&ret), 1816 ) 1817 return 1818 } 1819 1820 // HasFuncGetStartTime returns true if the method "SVGAnimationElement.getStartTime" exists. 1821 func (this SVGAnimationElement) HasFuncGetStartTime() bool { 1822 return js.True == bindings.HasFuncSVGAnimationElementGetStartTime( 1823 this.ref, 1824 ) 1825 } 1826 1827 // FuncGetStartTime returns the method "SVGAnimationElement.getStartTime". 1828 func (this SVGAnimationElement) FuncGetStartTime() (fn js.Func[func() float32]) { 1829 bindings.FuncSVGAnimationElementGetStartTime( 1830 this.ref, js.Pointer(&fn), 1831 ) 1832 return 1833 } 1834 1835 // GetStartTime calls the method "SVGAnimationElement.getStartTime". 1836 func (this SVGAnimationElement) GetStartTime() (ret float32) { 1837 bindings.CallSVGAnimationElementGetStartTime( 1838 this.ref, js.Pointer(&ret), 1839 ) 1840 1841 return 1842 } 1843 1844 // TryGetStartTime calls the method "SVGAnimationElement.getStartTime" 1845 // in a try/catch block and returns (_, err, ok = false) when it went through 1846 // the catch clause. 1847 func (this SVGAnimationElement) TryGetStartTime() (ret float32, exception js.Any, ok bool) { 1848 ok = js.True == bindings.TrySVGAnimationElementGetStartTime( 1849 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1850 ) 1851 1852 return 1853 } 1854 1855 // HasFuncGetCurrentTime returns true if the method "SVGAnimationElement.getCurrentTime" exists. 1856 func (this SVGAnimationElement) HasFuncGetCurrentTime() bool { 1857 return js.True == bindings.HasFuncSVGAnimationElementGetCurrentTime( 1858 this.ref, 1859 ) 1860 } 1861 1862 // FuncGetCurrentTime returns the method "SVGAnimationElement.getCurrentTime". 1863 func (this SVGAnimationElement) FuncGetCurrentTime() (fn js.Func[func() float32]) { 1864 bindings.FuncSVGAnimationElementGetCurrentTime( 1865 this.ref, js.Pointer(&fn), 1866 ) 1867 return 1868 } 1869 1870 // GetCurrentTime calls the method "SVGAnimationElement.getCurrentTime". 1871 func (this SVGAnimationElement) GetCurrentTime() (ret float32) { 1872 bindings.CallSVGAnimationElementGetCurrentTime( 1873 this.ref, js.Pointer(&ret), 1874 ) 1875 1876 return 1877 } 1878 1879 // TryGetCurrentTime calls the method "SVGAnimationElement.getCurrentTime" 1880 // in a try/catch block and returns (_, err, ok = false) when it went through 1881 // the catch clause. 1882 func (this SVGAnimationElement) TryGetCurrentTime() (ret float32, exception js.Any, ok bool) { 1883 ok = js.True == bindings.TrySVGAnimationElementGetCurrentTime( 1884 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1885 ) 1886 1887 return 1888 } 1889 1890 // HasFuncGetSimpleDuration returns true if the method "SVGAnimationElement.getSimpleDuration" exists. 1891 func (this SVGAnimationElement) HasFuncGetSimpleDuration() bool { 1892 return js.True == bindings.HasFuncSVGAnimationElementGetSimpleDuration( 1893 this.ref, 1894 ) 1895 } 1896 1897 // FuncGetSimpleDuration returns the method "SVGAnimationElement.getSimpleDuration". 1898 func (this SVGAnimationElement) FuncGetSimpleDuration() (fn js.Func[func() float32]) { 1899 bindings.FuncSVGAnimationElementGetSimpleDuration( 1900 this.ref, js.Pointer(&fn), 1901 ) 1902 return 1903 } 1904 1905 // GetSimpleDuration calls the method "SVGAnimationElement.getSimpleDuration". 1906 func (this SVGAnimationElement) GetSimpleDuration() (ret float32) { 1907 bindings.CallSVGAnimationElementGetSimpleDuration( 1908 this.ref, js.Pointer(&ret), 1909 ) 1910 1911 return 1912 } 1913 1914 // TryGetSimpleDuration calls the method "SVGAnimationElement.getSimpleDuration" 1915 // in a try/catch block and returns (_, err, ok = false) when it went through 1916 // the catch clause. 1917 func (this SVGAnimationElement) TryGetSimpleDuration() (ret float32, exception js.Any, ok bool) { 1918 ok = js.True == bindings.TrySVGAnimationElementGetSimpleDuration( 1919 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1920 ) 1921 1922 return 1923 } 1924 1925 // HasFuncBeginElement returns true if the method "SVGAnimationElement.beginElement" exists. 1926 func (this SVGAnimationElement) HasFuncBeginElement() bool { 1927 return js.True == bindings.HasFuncSVGAnimationElementBeginElement( 1928 this.ref, 1929 ) 1930 } 1931 1932 // FuncBeginElement returns the method "SVGAnimationElement.beginElement". 1933 func (this SVGAnimationElement) FuncBeginElement() (fn js.Func[func()]) { 1934 bindings.FuncSVGAnimationElementBeginElement( 1935 this.ref, js.Pointer(&fn), 1936 ) 1937 return 1938 } 1939 1940 // BeginElement calls the method "SVGAnimationElement.beginElement". 1941 func (this SVGAnimationElement) BeginElement() (ret js.Void) { 1942 bindings.CallSVGAnimationElementBeginElement( 1943 this.ref, js.Pointer(&ret), 1944 ) 1945 1946 return 1947 } 1948 1949 // TryBeginElement calls the method "SVGAnimationElement.beginElement" 1950 // in a try/catch block and returns (_, err, ok = false) when it went through 1951 // the catch clause. 1952 func (this SVGAnimationElement) TryBeginElement() (ret js.Void, exception js.Any, ok bool) { 1953 ok = js.True == bindings.TrySVGAnimationElementBeginElement( 1954 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1955 ) 1956 1957 return 1958 } 1959 1960 // HasFuncBeginElementAt returns true if the method "SVGAnimationElement.beginElementAt" exists. 1961 func (this SVGAnimationElement) HasFuncBeginElementAt() bool { 1962 return js.True == bindings.HasFuncSVGAnimationElementBeginElementAt( 1963 this.ref, 1964 ) 1965 } 1966 1967 // FuncBeginElementAt returns the method "SVGAnimationElement.beginElementAt". 1968 func (this SVGAnimationElement) FuncBeginElementAt() (fn js.Func[func(offset float32)]) { 1969 bindings.FuncSVGAnimationElementBeginElementAt( 1970 this.ref, js.Pointer(&fn), 1971 ) 1972 return 1973 } 1974 1975 // BeginElementAt calls the method "SVGAnimationElement.beginElementAt". 1976 func (this SVGAnimationElement) BeginElementAt(offset float32) (ret js.Void) { 1977 bindings.CallSVGAnimationElementBeginElementAt( 1978 this.ref, js.Pointer(&ret), 1979 float32(offset), 1980 ) 1981 1982 return 1983 } 1984 1985 // TryBeginElementAt calls the method "SVGAnimationElement.beginElementAt" 1986 // in a try/catch block and returns (_, err, ok = false) when it went through 1987 // the catch clause. 1988 func (this SVGAnimationElement) TryBeginElementAt(offset float32) (ret js.Void, exception js.Any, ok bool) { 1989 ok = js.True == bindings.TrySVGAnimationElementBeginElementAt( 1990 this.ref, js.Pointer(&ret), js.Pointer(&exception), 1991 float32(offset), 1992 ) 1993 1994 return 1995 } 1996 1997 // HasFuncEndElement returns true if the method "SVGAnimationElement.endElement" exists. 1998 func (this SVGAnimationElement) HasFuncEndElement() bool { 1999 return js.True == bindings.HasFuncSVGAnimationElementEndElement( 2000 this.ref, 2001 ) 2002 } 2003 2004 // FuncEndElement returns the method "SVGAnimationElement.endElement". 2005 func (this SVGAnimationElement) FuncEndElement() (fn js.Func[func()]) { 2006 bindings.FuncSVGAnimationElementEndElement( 2007 this.ref, js.Pointer(&fn), 2008 ) 2009 return 2010 } 2011 2012 // EndElement calls the method "SVGAnimationElement.endElement". 2013 func (this SVGAnimationElement) EndElement() (ret js.Void) { 2014 bindings.CallSVGAnimationElementEndElement( 2015 this.ref, js.Pointer(&ret), 2016 ) 2017 2018 return 2019 } 2020 2021 // TryEndElement calls the method "SVGAnimationElement.endElement" 2022 // in a try/catch block and returns (_, err, ok = false) when it went through 2023 // the catch clause. 2024 func (this SVGAnimationElement) TryEndElement() (ret js.Void, exception js.Any, ok bool) { 2025 ok = js.True == bindings.TrySVGAnimationElementEndElement( 2026 this.ref, js.Pointer(&ret), js.Pointer(&exception), 2027 ) 2028 2029 return 2030 } 2031 2032 // HasFuncEndElementAt returns true if the method "SVGAnimationElement.endElementAt" exists. 2033 func (this SVGAnimationElement) HasFuncEndElementAt() bool { 2034 return js.True == bindings.HasFuncSVGAnimationElementEndElementAt( 2035 this.ref, 2036 ) 2037 } 2038 2039 // FuncEndElementAt returns the method "SVGAnimationElement.endElementAt". 2040 func (this SVGAnimationElement) FuncEndElementAt() (fn js.Func[func(offset float32)]) { 2041 bindings.FuncSVGAnimationElementEndElementAt( 2042 this.ref, js.Pointer(&fn), 2043 ) 2044 return 2045 } 2046 2047 // EndElementAt calls the method "SVGAnimationElement.endElementAt". 2048 func (this SVGAnimationElement) EndElementAt(offset float32) (ret js.Void) { 2049 bindings.CallSVGAnimationElementEndElementAt( 2050 this.ref, js.Pointer(&ret), 2051 float32(offset), 2052 ) 2053 2054 return 2055 } 2056 2057 // TryEndElementAt calls the method "SVGAnimationElement.endElementAt" 2058 // in a try/catch block and returns (_, err, ok = false) when it went through 2059 // the catch clause. 2060 func (this SVGAnimationElement) TryEndElementAt(offset float32) (ret js.Void, exception js.Any, ok bool) { 2061 ok = js.True == bindings.TrySVGAnimationElementEndElementAt( 2062 this.ref, js.Pointer(&ret), js.Pointer(&exception), 2063 float32(offset), 2064 ) 2065 2066 return 2067 } 2068 2069 type SVGBoundingBoxOptions struct { 2070 // Fill is "SVGBoundingBoxOptions.fill" 2071 // 2072 // Optional, defaults to true. 2073 // 2074 // NOTE: FFI_USE_Fill MUST be set to true to make this field effective. 2075 Fill bool 2076 // Stroke is "SVGBoundingBoxOptions.stroke" 2077 // 2078 // Optional, defaults to false. 2079 // 2080 // NOTE: FFI_USE_Stroke MUST be set to true to make this field effective. 2081 Stroke bool 2082 // Markers is "SVGBoundingBoxOptions.markers" 2083 // 2084 // Optional, defaults to false. 2085 // 2086 // NOTE: FFI_USE_Markers MUST be set to true to make this field effective. 2087 Markers bool 2088 // Clipped is "SVGBoundingBoxOptions.clipped" 2089 // 2090 // Optional, defaults to false. 2091 // 2092 // NOTE: FFI_USE_Clipped MUST be set to true to make this field effective. 2093 Clipped bool 2094 2095 FFI_USE_Fill bool // for Fill. 2096 FFI_USE_Stroke bool // for Stroke. 2097 FFI_USE_Markers bool // for Markers. 2098 FFI_USE_Clipped bool // for Clipped. 2099 2100 FFI_USE bool 2101 } 2102 2103 // FromRef calls UpdateFrom and returns a SVGBoundingBoxOptions with all fields set. 2104 func (p SVGBoundingBoxOptions) FromRef(ref js.Ref) SVGBoundingBoxOptions { 2105 p.UpdateFrom(ref) 2106 return p 2107 } 2108 2109 // New creates a new SVGBoundingBoxOptions in the application heap. 2110 func (p SVGBoundingBoxOptions) New() js.Ref { 2111 return bindings.SVGBoundingBoxOptionsJSLoad( 2112 js.Pointer(&p), js.True, 0, 2113 ) 2114 } 2115 2116 // UpdateFrom copies value of all fields of the heap object to p. 2117 func (p *SVGBoundingBoxOptions) UpdateFrom(ref js.Ref) { 2118 bindings.SVGBoundingBoxOptionsJSStore( 2119 js.Pointer(p), ref, 2120 ) 2121 } 2122 2123 // Update writes all fields of the p to the heap object referenced by ref. 2124 func (p *SVGBoundingBoxOptions) Update(ref js.Ref) { 2125 bindings.SVGBoundingBoxOptionsJSLoad( 2126 js.Pointer(p), js.False, ref, 2127 ) 2128 } 2129 2130 // FreeMembers frees fields with heap reference, if recursive is true 2131 // free all heap references reachable from p. 2132 func (p *SVGBoundingBoxOptions) FreeMembers(recursive bool) { 2133 } 2134 2135 type SVGCircleElement struct { 2136 SVGGeometryElement 2137 } 2138 2139 func (this SVGCircleElement) Once() SVGCircleElement { 2140 this.ref.Once() 2141 return this 2142 } 2143 2144 func (this SVGCircleElement) Ref() js.Ref { 2145 return this.SVGGeometryElement.Ref() 2146 } 2147 2148 func (this SVGCircleElement) FromRef(ref js.Ref) SVGCircleElement { 2149 this.SVGGeometryElement = this.SVGGeometryElement.FromRef(ref) 2150 return this 2151 } 2152 2153 func (this SVGCircleElement) Free() { 2154 this.ref.Free() 2155 } 2156 2157 // Cx returns the value of property "SVGCircleElement.cx". 2158 // 2159 // It returns ok=false if there is no such property. 2160 func (this SVGCircleElement) Cx() (ret SVGAnimatedLength, ok bool) { 2161 ok = js.True == bindings.GetSVGCircleElementCx( 2162 this.ref, js.Pointer(&ret), 2163 ) 2164 return 2165 } 2166 2167 // Cy returns the value of property "SVGCircleElement.cy". 2168 // 2169 // It returns ok=false if there is no such property. 2170 func (this SVGCircleElement) Cy() (ret SVGAnimatedLength, ok bool) { 2171 ok = js.True == bindings.GetSVGCircleElementCy( 2172 this.ref, js.Pointer(&ret), 2173 ) 2174 return 2175 } 2176 2177 // R returns the value of property "SVGCircleElement.r". 2178 // 2179 // It returns ok=false if there is no such property. 2180 func (this SVGCircleElement) R() (ret SVGAnimatedLength, ok bool) { 2181 ok = js.True == bindings.GetSVGCircleElementR( 2182 this.ref, js.Pointer(&ret), 2183 ) 2184 return 2185 } 2186 2187 type SVGClipPathElement struct { 2188 SVGElement 2189 } 2190 2191 func (this SVGClipPathElement) Once() SVGClipPathElement { 2192 this.ref.Once() 2193 return this 2194 } 2195 2196 func (this SVGClipPathElement) Ref() js.Ref { 2197 return this.SVGElement.Ref() 2198 } 2199 2200 func (this SVGClipPathElement) FromRef(ref js.Ref) SVGClipPathElement { 2201 this.SVGElement = this.SVGElement.FromRef(ref) 2202 return this 2203 } 2204 2205 func (this SVGClipPathElement) Free() { 2206 this.ref.Free() 2207 } 2208 2209 // ClipPathUnits returns the value of property "SVGClipPathElement.clipPathUnits". 2210 // 2211 // It returns ok=false if there is no such property. 2212 func (this SVGClipPathElement) ClipPathUnits() (ret SVGAnimatedEnumeration, ok bool) { 2213 ok = js.True == bindings.GetSVGClipPathElementClipPathUnits( 2214 this.ref, js.Pointer(&ret), 2215 ) 2216 return 2217 } 2218 2219 // Transform returns the value of property "SVGClipPathElement.transform". 2220 // 2221 // It returns ok=false if there is no such property. 2222 func (this SVGClipPathElement) Transform() (ret SVGAnimatedTransformList, ok bool) { 2223 ok = js.True == bindings.GetSVGClipPathElementTransform( 2224 this.ref, js.Pointer(&ret), 2225 ) 2226 return 2227 } 2228 2229 const ( 2230 SVGComponentTransferFunctionElement_SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN uint16 = 0 2231 SVGComponentTransferFunctionElement_SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY uint16 = 1 2232 SVGComponentTransferFunctionElement_SVG_FECOMPONENTTRANSFER_TYPE_TABLE uint16 = 2 2233 SVGComponentTransferFunctionElement_SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE uint16 = 3 2234 SVGComponentTransferFunctionElement_SVG_FECOMPONENTTRANSFER_TYPE_LINEAR uint16 = 4 2235 SVGComponentTransferFunctionElement_SVG_FECOMPONENTTRANSFER_TYPE_GAMMA uint16 = 5 2236 ) 2237 2238 type SVGComponentTransferFunctionElement struct { 2239 SVGElement 2240 } 2241 2242 func (this SVGComponentTransferFunctionElement) Once() SVGComponentTransferFunctionElement { 2243 this.ref.Once() 2244 return this 2245 } 2246 2247 func (this SVGComponentTransferFunctionElement) Ref() js.Ref { 2248 return this.SVGElement.Ref() 2249 } 2250 2251 func (this SVGComponentTransferFunctionElement) FromRef(ref js.Ref) SVGComponentTransferFunctionElement { 2252 this.SVGElement = this.SVGElement.FromRef(ref) 2253 return this 2254 } 2255 2256 func (this SVGComponentTransferFunctionElement) Free() { 2257 this.ref.Free() 2258 } 2259 2260 // Type returns the value of property "SVGComponentTransferFunctionElement.type". 2261 // 2262 // It returns ok=false if there is no such property. 2263 func (this SVGComponentTransferFunctionElement) Type() (ret SVGAnimatedEnumeration, ok bool) { 2264 ok = js.True == bindings.GetSVGComponentTransferFunctionElementType( 2265 this.ref, js.Pointer(&ret), 2266 ) 2267 return 2268 } 2269 2270 // TableValues returns the value of property "SVGComponentTransferFunctionElement.tableValues". 2271 // 2272 // It returns ok=false if there is no such property. 2273 func (this SVGComponentTransferFunctionElement) TableValues() (ret SVGAnimatedNumberList, ok bool) { 2274 ok = js.True == bindings.GetSVGComponentTransferFunctionElementTableValues( 2275 this.ref, js.Pointer(&ret), 2276 ) 2277 return 2278 } 2279 2280 // Slope returns the value of property "SVGComponentTransferFunctionElement.slope". 2281 // 2282 // It returns ok=false if there is no such property. 2283 func (this SVGComponentTransferFunctionElement) Slope() (ret SVGAnimatedNumber, ok bool) { 2284 ok = js.True == bindings.GetSVGComponentTransferFunctionElementSlope( 2285 this.ref, js.Pointer(&ret), 2286 ) 2287 return 2288 } 2289 2290 // Intercept returns the value of property "SVGComponentTransferFunctionElement.intercept". 2291 // 2292 // It returns ok=false if there is no such property. 2293 func (this SVGComponentTransferFunctionElement) Intercept() (ret SVGAnimatedNumber, ok bool) { 2294 ok = js.True == bindings.GetSVGComponentTransferFunctionElementIntercept( 2295 this.ref, js.Pointer(&ret), 2296 ) 2297 return 2298 } 2299 2300 // Amplitude returns the value of property "SVGComponentTransferFunctionElement.amplitude". 2301 // 2302 // It returns ok=false if there is no such property. 2303 func (this SVGComponentTransferFunctionElement) Amplitude() (ret SVGAnimatedNumber, ok bool) { 2304 ok = js.True == bindings.GetSVGComponentTransferFunctionElementAmplitude( 2305 this.ref, js.Pointer(&ret), 2306 ) 2307 return 2308 } 2309 2310 // Exponent returns the value of property "SVGComponentTransferFunctionElement.exponent". 2311 // 2312 // It returns ok=false if there is no such property. 2313 func (this SVGComponentTransferFunctionElement) Exponent() (ret SVGAnimatedNumber, ok bool) { 2314 ok = js.True == bindings.GetSVGComponentTransferFunctionElementExponent( 2315 this.ref, js.Pointer(&ret), 2316 ) 2317 return 2318 } 2319 2320 // Offset returns the value of property "SVGComponentTransferFunctionElement.offset". 2321 // 2322 // It returns ok=false if there is no such property. 2323 func (this SVGComponentTransferFunctionElement) Offset() (ret SVGAnimatedNumber, ok bool) { 2324 ok = js.True == bindings.GetSVGComponentTransferFunctionElementOffset( 2325 this.ref, js.Pointer(&ret), 2326 ) 2327 return 2328 } 2329 2330 type SVGDefsElement struct { 2331 SVGGraphicsElement 2332 } 2333 2334 func (this SVGDefsElement) Once() SVGDefsElement { 2335 this.ref.Once() 2336 return this 2337 } 2338 2339 func (this SVGDefsElement) Ref() js.Ref { 2340 return this.SVGGraphicsElement.Ref() 2341 } 2342 2343 func (this SVGDefsElement) FromRef(ref js.Ref) SVGDefsElement { 2344 this.SVGGraphicsElement = this.SVGGraphicsElement.FromRef(ref) 2345 return this 2346 } 2347 2348 func (this SVGDefsElement) Free() { 2349 this.ref.Free() 2350 } 2351 2352 type SVGDescElement struct { 2353 SVGElement 2354 } 2355 2356 func (this SVGDescElement) Once() SVGDescElement { 2357 this.ref.Once() 2358 return this 2359 } 2360 2361 func (this SVGDescElement) Ref() js.Ref { 2362 return this.SVGElement.Ref() 2363 } 2364 2365 func (this SVGDescElement) FromRef(ref js.Ref) SVGDescElement { 2366 this.SVGElement = this.SVGElement.FromRef(ref) 2367 return this 2368 } 2369 2370 func (this SVGDescElement) Free() { 2371 this.ref.Free() 2372 } 2373 2374 type SVGDiscardElement struct { 2375 SVGAnimationElement 2376 } 2377 2378 func (this SVGDiscardElement) Once() SVGDiscardElement { 2379 this.ref.Once() 2380 return this 2381 } 2382 2383 func (this SVGDiscardElement) Ref() js.Ref { 2384 return this.SVGAnimationElement.Ref() 2385 } 2386 2387 func (this SVGDiscardElement) FromRef(ref js.Ref) SVGDiscardElement { 2388 this.SVGAnimationElement = this.SVGAnimationElement.FromRef(ref) 2389 return this 2390 } 2391 2392 func (this SVGDiscardElement) Free() { 2393 this.ref.Free() 2394 } 2395 2396 type SVGEllipseElement struct { 2397 SVGGeometryElement 2398 } 2399 2400 func (this SVGEllipseElement) Once() SVGEllipseElement { 2401 this.ref.Once() 2402 return this 2403 } 2404 2405 func (this SVGEllipseElement) Ref() js.Ref { 2406 return this.SVGGeometryElement.Ref() 2407 } 2408 2409 func (this SVGEllipseElement) FromRef(ref js.Ref) SVGEllipseElement { 2410 this.SVGGeometryElement = this.SVGGeometryElement.FromRef(ref) 2411 return this 2412 } 2413 2414 func (this SVGEllipseElement) Free() { 2415 this.ref.Free() 2416 } 2417 2418 // Cx returns the value of property "SVGEllipseElement.cx". 2419 // 2420 // It returns ok=false if there is no such property. 2421 func (this SVGEllipseElement) Cx() (ret SVGAnimatedLength, ok bool) { 2422 ok = js.True == bindings.GetSVGEllipseElementCx( 2423 this.ref, js.Pointer(&ret), 2424 ) 2425 return 2426 } 2427 2428 // Cy returns the value of property "SVGEllipseElement.cy". 2429 // 2430 // It returns ok=false if there is no such property. 2431 func (this SVGEllipseElement) Cy() (ret SVGAnimatedLength, ok bool) { 2432 ok = js.True == bindings.GetSVGEllipseElementCy( 2433 this.ref, js.Pointer(&ret), 2434 ) 2435 return 2436 } 2437 2438 // Rx returns the value of property "SVGEllipseElement.rx". 2439 // 2440 // It returns ok=false if there is no such property. 2441 func (this SVGEllipseElement) Rx() (ret SVGAnimatedLength, ok bool) { 2442 ok = js.True == bindings.GetSVGEllipseElementRx( 2443 this.ref, js.Pointer(&ret), 2444 ) 2445 return 2446 } 2447 2448 // Ry returns the value of property "SVGEllipseElement.ry". 2449 // 2450 // It returns ok=false if there is no such property. 2451 func (this SVGEllipseElement) Ry() (ret SVGAnimatedLength, ok bool) { 2452 ok = js.True == bindings.GetSVGEllipseElementRy( 2453 this.ref, js.Pointer(&ret), 2454 ) 2455 return 2456 } 2457 2458 const ( 2459 SVGFEBlendElement_SVG_FEBLEND_MODE_UNKNOWN uint16 = 0 2460 SVGFEBlendElement_SVG_FEBLEND_MODE_NORMAL uint16 = 1 2461 SVGFEBlendElement_SVG_FEBLEND_MODE_MULTIPLY uint16 = 2 2462 SVGFEBlendElement_SVG_FEBLEND_MODE_SCREEN uint16 = 3 2463 SVGFEBlendElement_SVG_FEBLEND_MODE_DARKEN uint16 = 4 2464 SVGFEBlendElement_SVG_FEBLEND_MODE_LIGHTEN uint16 = 5 2465 SVGFEBlendElement_SVG_FEBLEND_MODE_OVERLAY uint16 = 6 2466 SVGFEBlendElement_SVG_FEBLEND_MODE_COLOR_DODGE uint16 = 7 2467 SVGFEBlendElement_SVG_FEBLEND_MODE_COLOR_BURN uint16 = 8 2468 SVGFEBlendElement_SVG_FEBLEND_MODE_HARD_LIGHT uint16 = 9 2469 SVGFEBlendElement_SVG_FEBLEND_MODE_SOFT_LIGHT uint16 = 10 2470 SVGFEBlendElement_SVG_FEBLEND_MODE_DIFFERENCE uint16 = 11 2471 SVGFEBlendElement_SVG_FEBLEND_MODE_EXCLUSION uint16 = 12 2472 SVGFEBlendElement_SVG_FEBLEND_MODE_HUE uint16 = 13 2473 SVGFEBlendElement_SVG_FEBLEND_MODE_SATURATION uint16 = 14 2474 SVGFEBlendElement_SVG_FEBLEND_MODE_COLOR uint16 = 15 2475 SVGFEBlendElement_SVG_FEBLEND_MODE_LUMINOSITY uint16 = 16 2476 ) 2477 2478 type SVGFEBlendElement struct { 2479 SVGElement 2480 } 2481 2482 func (this SVGFEBlendElement) Once() SVGFEBlendElement { 2483 this.ref.Once() 2484 return this 2485 } 2486 2487 func (this SVGFEBlendElement) Ref() js.Ref { 2488 return this.SVGElement.Ref() 2489 } 2490 2491 func (this SVGFEBlendElement) FromRef(ref js.Ref) SVGFEBlendElement { 2492 this.SVGElement = this.SVGElement.FromRef(ref) 2493 return this 2494 } 2495 2496 func (this SVGFEBlendElement) Free() { 2497 this.ref.Free() 2498 } 2499 2500 // In1 returns the value of property "SVGFEBlendElement.in1". 2501 // 2502 // It returns ok=false if there is no such property. 2503 func (this SVGFEBlendElement) In1() (ret SVGAnimatedString, ok bool) { 2504 ok = js.True == bindings.GetSVGFEBlendElementIn1( 2505 this.ref, js.Pointer(&ret), 2506 ) 2507 return 2508 } 2509 2510 // In2 returns the value of property "SVGFEBlendElement.in2". 2511 // 2512 // It returns ok=false if there is no such property. 2513 func (this SVGFEBlendElement) In2() (ret SVGAnimatedString, ok bool) { 2514 ok = js.True == bindings.GetSVGFEBlendElementIn2( 2515 this.ref, js.Pointer(&ret), 2516 ) 2517 return 2518 } 2519 2520 // Mode returns the value of property "SVGFEBlendElement.mode". 2521 // 2522 // It returns ok=false if there is no such property. 2523 func (this SVGFEBlendElement) Mode() (ret SVGAnimatedEnumeration, ok bool) { 2524 ok = js.True == bindings.GetSVGFEBlendElementMode( 2525 this.ref, js.Pointer(&ret), 2526 ) 2527 return 2528 } 2529 2530 // X returns the value of property "SVGFEBlendElement.x". 2531 // 2532 // It returns ok=false if there is no such property. 2533 func (this SVGFEBlendElement) X() (ret SVGAnimatedLength, ok bool) { 2534 ok = js.True == bindings.GetSVGFEBlendElementX( 2535 this.ref, js.Pointer(&ret), 2536 ) 2537 return 2538 } 2539 2540 // Y returns the value of property "SVGFEBlendElement.y". 2541 // 2542 // It returns ok=false if there is no such property. 2543 func (this SVGFEBlendElement) Y() (ret SVGAnimatedLength, ok bool) { 2544 ok = js.True == bindings.GetSVGFEBlendElementY( 2545 this.ref, js.Pointer(&ret), 2546 ) 2547 return 2548 } 2549 2550 // Width returns the value of property "SVGFEBlendElement.width". 2551 // 2552 // It returns ok=false if there is no such property. 2553 func (this SVGFEBlendElement) Width() (ret SVGAnimatedLength, ok bool) { 2554 ok = js.True == bindings.GetSVGFEBlendElementWidth( 2555 this.ref, js.Pointer(&ret), 2556 ) 2557 return 2558 } 2559 2560 // Height returns the value of property "SVGFEBlendElement.height". 2561 // 2562 // It returns ok=false if there is no such property. 2563 func (this SVGFEBlendElement) Height() (ret SVGAnimatedLength, ok bool) { 2564 ok = js.True == bindings.GetSVGFEBlendElementHeight( 2565 this.ref, js.Pointer(&ret), 2566 ) 2567 return 2568 } 2569 2570 // Result returns the value of property "SVGFEBlendElement.result". 2571 // 2572 // It returns ok=false if there is no such property. 2573 func (this SVGFEBlendElement) Result() (ret SVGAnimatedString, ok bool) { 2574 ok = js.True == bindings.GetSVGFEBlendElementResult( 2575 this.ref, js.Pointer(&ret), 2576 ) 2577 return 2578 } 2579 2580 const ( 2581 SVGFEColorMatrixElement_SVG_FECOLORMATRIX_TYPE_UNKNOWN uint16 = 0 2582 SVGFEColorMatrixElement_SVG_FECOLORMATRIX_TYPE_MATRIX uint16 = 1 2583 SVGFEColorMatrixElement_SVG_FECOLORMATRIX_TYPE_SATURATE uint16 = 2 2584 SVGFEColorMatrixElement_SVG_FECOLORMATRIX_TYPE_HUEROTATE uint16 = 3 2585 SVGFEColorMatrixElement_SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA uint16 = 4 2586 ) 2587 2588 type SVGFEColorMatrixElement struct { 2589 SVGElement 2590 } 2591 2592 func (this SVGFEColorMatrixElement) Once() SVGFEColorMatrixElement { 2593 this.ref.Once() 2594 return this 2595 } 2596 2597 func (this SVGFEColorMatrixElement) Ref() js.Ref { 2598 return this.SVGElement.Ref() 2599 } 2600 2601 func (this SVGFEColorMatrixElement) FromRef(ref js.Ref) SVGFEColorMatrixElement { 2602 this.SVGElement = this.SVGElement.FromRef(ref) 2603 return this 2604 } 2605 2606 func (this SVGFEColorMatrixElement) Free() { 2607 this.ref.Free() 2608 } 2609 2610 // In1 returns the value of property "SVGFEColorMatrixElement.in1". 2611 // 2612 // It returns ok=false if there is no such property. 2613 func (this SVGFEColorMatrixElement) In1() (ret SVGAnimatedString, ok bool) { 2614 ok = js.True == bindings.GetSVGFEColorMatrixElementIn1( 2615 this.ref, js.Pointer(&ret), 2616 ) 2617 return 2618 } 2619 2620 // Type returns the value of property "SVGFEColorMatrixElement.type". 2621 // 2622 // It returns ok=false if there is no such property. 2623 func (this SVGFEColorMatrixElement) Type() (ret SVGAnimatedEnumeration, ok bool) { 2624 ok = js.True == bindings.GetSVGFEColorMatrixElementType( 2625 this.ref, js.Pointer(&ret), 2626 ) 2627 return 2628 } 2629 2630 // Values returns the value of property "SVGFEColorMatrixElement.values". 2631 // 2632 // It returns ok=false if there is no such property. 2633 func (this SVGFEColorMatrixElement) Values() (ret SVGAnimatedNumberList, ok bool) { 2634 ok = js.True == bindings.GetSVGFEColorMatrixElementValues( 2635 this.ref, js.Pointer(&ret), 2636 ) 2637 return 2638 } 2639 2640 // X returns the value of property "SVGFEColorMatrixElement.x". 2641 // 2642 // It returns ok=false if there is no such property. 2643 func (this SVGFEColorMatrixElement) X() (ret SVGAnimatedLength, ok bool) { 2644 ok = js.True == bindings.GetSVGFEColorMatrixElementX( 2645 this.ref, js.Pointer(&ret), 2646 ) 2647 return 2648 } 2649 2650 // Y returns the value of property "SVGFEColorMatrixElement.y". 2651 // 2652 // It returns ok=false if there is no such property. 2653 func (this SVGFEColorMatrixElement) Y() (ret SVGAnimatedLength, ok bool) { 2654 ok = js.True == bindings.GetSVGFEColorMatrixElementY( 2655 this.ref, js.Pointer(&ret), 2656 ) 2657 return 2658 } 2659 2660 // Width returns the value of property "SVGFEColorMatrixElement.width". 2661 // 2662 // It returns ok=false if there is no such property. 2663 func (this SVGFEColorMatrixElement) Width() (ret SVGAnimatedLength, ok bool) { 2664 ok = js.True == bindings.GetSVGFEColorMatrixElementWidth( 2665 this.ref, js.Pointer(&ret), 2666 ) 2667 return 2668 } 2669 2670 // Height returns the value of property "SVGFEColorMatrixElement.height". 2671 // 2672 // It returns ok=false if there is no such property. 2673 func (this SVGFEColorMatrixElement) Height() (ret SVGAnimatedLength, ok bool) { 2674 ok = js.True == bindings.GetSVGFEColorMatrixElementHeight( 2675 this.ref, js.Pointer(&ret), 2676 ) 2677 return 2678 } 2679 2680 // Result returns the value of property "SVGFEColorMatrixElement.result". 2681 // 2682 // It returns ok=false if there is no such property. 2683 func (this SVGFEColorMatrixElement) Result() (ret SVGAnimatedString, ok bool) { 2684 ok = js.True == bindings.GetSVGFEColorMatrixElementResult( 2685 this.ref, js.Pointer(&ret), 2686 ) 2687 return 2688 } 2689 2690 type SVGFEComponentTransferElement struct { 2691 SVGElement 2692 } 2693 2694 func (this SVGFEComponentTransferElement) Once() SVGFEComponentTransferElement { 2695 this.ref.Once() 2696 return this 2697 } 2698 2699 func (this SVGFEComponentTransferElement) Ref() js.Ref { 2700 return this.SVGElement.Ref() 2701 } 2702 2703 func (this SVGFEComponentTransferElement) FromRef(ref js.Ref) SVGFEComponentTransferElement { 2704 this.SVGElement = this.SVGElement.FromRef(ref) 2705 return this 2706 } 2707 2708 func (this SVGFEComponentTransferElement) Free() { 2709 this.ref.Free() 2710 } 2711 2712 // In1 returns the value of property "SVGFEComponentTransferElement.in1". 2713 // 2714 // It returns ok=false if there is no such property. 2715 func (this SVGFEComponentTransferElement) In1() (ret SVGAnimatedString, ok bool) { 2716 ok = js.True == bindings.GetSVGFEComponentTransferElementIn1( 2717 this.ref, js.Pointer(&ret), 2718 ) 2719 return 2720 } 2721 2722 // X returns the value of property "SVGFEComponentTransferElement.x". 2723 // 2724 // It returns ok=false if there is no such property. 2725 func (this SVGFEComponentTransferElement) X() (ret SVGAnimatedLength, ok bool) { 2726 ok = js.True == bindings.GetSVGFEComponentTransferElementX( 2727 this.ref, js.Pointer(&ret), 2728 ) 2729 return 2730 } 2731 2732 // Y returns the value of property "SVGFEComponentTransferElement.y". 2733 // 2734 // It returns ok=false if there is no such property. 2735 func (this SVGFEComponentTransferElement) Y() (ret SVGAnimatedLength, ok bool) { 2736 ok = js.True == bindings.GetSVGFEComponentTransferElementY( 2737 this.ref, js.Pointer(&ret), 2738 ) 2739 return 2740 } 2741 2742 // Width returns the value of property "SVGFEComponentTransferElement.width". 2743 // 2744 // It returns ok=false if there is no such property. 2745 func (this SVGFEComponentTransferElement) Width() (ret SVGAnimatedLength, ok bool) { 2746 ok = js.True == bindings.GetSVGFEComponentTransferElementWidth( 2747 this.ref, js.Pointer(&ret), 2748 ) 2749 return 2750 } 2751 2752 // Height returns the value of property "SVGFEComponentTransferElement.height". 2753 // 2754 // It returns ok=false if there is no such property. 2755 func (this SVGFEComponentTransferElement) Height() (ret SVGAnimatedLength, ok bool) { 2756 ok = js.True == bindings.GetSVGFEComponentTransferElementHeight( 2757 this.ref, js.Pointer(&ret), 2758 ) 2759 return 2760 } 2761 2762 // Result returns the value of property "SVGFEComponentTransferElement.result". 2763 // 2764 // It returns ok=false if there is no such property. 2765 func (this SVGFEComponentTransferElement) Result() (ret SVGAnimatedString, ok bool) { 2766 ok = js.True == bindings.GetSVGFEComponentTransferElementResult( 2767 this.ref, js.Pointer(&ret), 2768 ) 2769 return 2770 } 2771 2772 const ( 2773 SVGFECompositeElement_SVG_FECOMPOSITE_OPERATOR_UNKNOWN uint16 = 0 2774 SVGFECompositeElement_SVG_FECOMPOSITE_OPERATOR_OVER uint16 = 1 2775 SVGFECompositeElement_SVG_FECOMPOSITE_OPERATOR_IN uint16 = 2 2776 SVGFECompositeElement_SVG_FECOMPOSITE_OPERATOR_OUT uint16 = 3 2777 SVGFECompositeElement_SVG_FECOMPOSITE_OPERATOR_ATOP uint16 = 4 2778 SVGFECompositeElement_SVG_FECOMPOSITE_OPERATOR_XOR uint16 = 5 2779 SVGFECompositeElement_SVG_FECOMPOSITE_OPERATOR_ARITHMETIC uint16 = 6 2780 ) 2781 2782 type SVGFECompositeElement struct { 2783 SVGElement 2784 } 2785 2786 func (this SVGFECompositeElement) Once() SVGFECompositeElement { 2787 this.ref.Once() 2788 return this 2789 } 2790 2791 func (this SVGFECompositeElement) Ref() js.Ref { 2792 return this.SVGElement.Ref() 2793 } 2794 2795 func (this SVGFECompositeElement) FromRef(ref js.Ref) SVGFECompositeElement { 2796 this.SVGElement = this.SVGElement.FromRef(ref) 2797 return this 2798 } 2799 2800 func (this SVGFECompositeElement) Free() { 2801 this.ref.Free() 2802 } 2803 2804 // In1 returns the value of property "SVGFECompositeElement.in1". 2805 // 2806 // It returns ok=false if there is no such property. 2807 func (this SVGFECompositeElement) In1() (ret SVGAnimatedString, ok bool) { 2808 ok = js.True == bindings.GetSVGFECompositeElementIn1( 2809 this.ref, js.Pointer(&ret), 2810 ) 2811 return 2812 } 2813 2814 // In2 returns the value of property "SVGFECompositeElement.in2". 2815 // 2816 // It returns ok=false if there is no such property. 2817 func (this SVGFECompositeElement) In2() (ret SVGAnimatedString, ok bool) { 2818 ok = js.True == bindings.GetSVGFECompositeElementIn2( 2819 this.ref, js.Pointer(&ret), 2820 ) 2821 return 2822 } 2823 2824 // Operator returns the value of property "SVGFECompositeElement.operator". 2825 // 2826 // It returns ok=false if there is no such property. 2827 func (this SVGFECompositeElement) Operator() (ret SVGAnimatedEnumeration, ok bool) { 2828 ok = js.True == bindings.GetSVGFECompositeElementOperator( 2829 this.ref, js.Pointer(&ret), 2830 ) 2831 return 2832 } 2833 2834 // K1 returns the value of property "SVGFECompositeElement.k1". 2835 // 2836 // It returns ok=false if there is no such property. 2837 func (this SVGFECompositeElement) K1() (ret SVGAnimatedNumber, ok bool) { 2838 ok = js.True == bindings.GetSVGFECompositeElementK1( 2839 this.ref, js.Pointer(&ret), 2840 ) 2841 return 2842 } 2843 2844 // K2 returns the value of property "SVGFECompositeElement.k2". 2845 // 2846 // It returns ok=false if there is no such property. 2847 func (this SVGFECompositeElement) K2() (ret SVGAnimatedNumber, ok bool) { 2848 ok = js.True == bindings.GetSVGFECompositeElementK2( 2849 this.ref, js.Pointer(&ret), 2850 ) 2851 return 2852 } 2853 2854 // K3 returns the value of property "SVGFECompositeElement.k3". 2855 // 2856 // It returns ok=false if there is no such property. 2857 func (this SVGFECompositeElement) K3() (ret SVGAnimatedNumber, ok bool) { 2858 ok = js.True == bindings.GetSVGFECompositeElementK3( 2859 this.ref, js.Pointer(&ret), 2860 ) 2861 return 2862 } 2863 2864 // K4 returns the value of property "SVGFECompositeElement.k4". 2865 // 2866 // It returns ok=false if there is no such property. 2867 func (this SVGFECompositeElement) K4() (ret SVGAnimatedNumber, ok bool) { 2868 ok = js.True == bindings.GetSVGFECompositeElementK4( 2869 this.ref, js.Pointer(&ret), 2870 ) 2871 return 2872 } 2873 2874 // X returns the value of property "SVGFECompositeElement.x". 2875 // 2876 // It returns ok=false if there is no such property. 2877 func (this SVGFECompositeElement) X() (ret SVGAnimatedLength, ok bool) { 2878 ok = js.True == bindings.GetSVGFECompositeElementX( 2879 this.ref, js.Pointer(&ret), 2880 ) 2881 return 2882 } 2883 2884 // Y returns the value of property "SVGFECompositeElement.y". 2885 // 2886 // It returns ok=false if there is no such property. 2887 func (this SVGFECompositeElement) Y() (ret SVGAnimatedLength, ok bool) { 2888 ok = js.True == bindings.GetSVGFECompositeElementY( 2889 this.ref, js.Pointer(&ret), 2890 ) 2891 return 2892 } 2893 2894 // Width returns the value of property "SVGFECompositeElement.width". 2895 // 2896 // It returns ok=false if there is no such property. 2897 func (this SVGFECompositeElement) Width() (ret SVGAnimatedLength, ok bool) { 2898 ok = js.True == bindings.GetSVGFECompositeElementWidth( 2899 this.ref, js.Pointer(&ret), 2900 ) 2901 return 2902 } 2903 2904 // Height returns the value of property "SVGFECompositeElement.height". 2905 // 2906 // It returns ok=false if there is no such property. 2907 func (this SVGFECompositeElement) Height() (ret SVGAnimatedLength, ok bool) { 2908 ok = js.True == bindings.GetSVGFECompositeElementHeight( 2909 this.ref, js.Pointer(&ret), 2910 ) 2911 return 2912 } 2913 2914 // Result returns the value of property "SVGFECompositeElement.result". 2915 // 2916 // It returns ok=false if there is no such property. 2917 func (this SVGFECompositeElement) Result() (ret SVGAnimatedString, ok bool) { 2918 ok = js.True == bindings.GetSVGFECompositeElementResult( 2919 this.ref, js.Pointer(&ret), 2920 ) 2921 return 2922 } 2923 2924 const ( 2925 SVGFEConvolveMatrixElement_SVG_EDGEMODE_UNKNOWN uint16 = 0 2926 SVGFEConvolveMatrixElement_SVG_EDGEMODE_DUPLICATE uint16 = 1 2927 SVGFEConvolveMatrixElement_SVG_EDGEMODE_WRAP uint16 = 2 2928 SVGFEConvolveMatrixElement_SVG_EDGEMODE_NONE uint16 = 3 2929 ) 2930 2931 type SVGFEConvolveMatrixElement struct { 2932 SVGElement 2933 } 2934 2935 func (this SVGFEConvolveMatrixElement) Once() SVGFEConvolveMatrixElement { 2936 this.ref.Once() 2937 return this 2938 } 2939 2940 func (this SVGFEConvolveMatrixElement) Ref() js.Ref { 2941 return this.SVGElement.Ref() 2942 } 2943 2944 func (this SVGFEConvolveMatrixElement) FromRef(ref js.Ref) SVGFEConvolveMatrixElement { 2945 this.SVGElement = this.SVGElement.FromRef(ref) 2946 return this 2947 } 2948 2949 func (this SVGFEConvolveMatrixElement) Free() { 2950 this.ref.Free() 2951 } 2952 2953 // In1 returns the value of property "SVGFEConvolveMatrixElement.in1". 2954 // 2955 // It returns ok=false if there is no such property. 2956 func (this SVGFEConvolveMatrixElement) In1() (ret SVGAnimatedString, ok bool) { 2957 ok = js.True == bindings.GetSVGFEConvolveMatrixElementIn1( 2958 this.ref, js.Pointer(&ret), 2959 ) 2960 return 2961 } 2962 2963 // OrderX returns the value of property "SVGFEConvolveMatrixElement.orderX". 2964 // 2965 // It returns ok=false if there is no such property. 2966 func (this SVGFEConvolveMatrixElement) OrderX() (ret SVGAnimatedInteger, ok bool) { 2967 ok = js.True == bindings.GetSVGFEConvolveMatrixElementOrderX( 2968 this.ref, js.Pointer(&ret), 2969 ) 2970 return 2971 } 2972 2973 // OrderY returns the value of property "SVGFEConvolveMatrixElement.orderY". 2974 // 2975 // It returns ok=false if there is no such property. 2976 func (this SVGFEConvolveMatrixElement) OrderY() (ret SVGAnimatedInteger, ok bool) { 2977 ok = js.True == bindings.GetSVGFEConvolveMatrixElementOrderY( 2978 this.ref, js.Pointer(&ret), 2979 ) 2980 return 2981 } 2982 2983 // KernelMatrix returns the value of property "SVGFEConvolveMatrixElement.kernelMatrix". 2984 // 2985 // It returns ok=false if there is no such property. 2986 func (this SVGFEConvolveMatrixElement) KernelMatrix() (ret SVGAnimatedNumberList, ok bool) { 2987 ok = js.True == bindings.GetSVGFEConvolveMatrixElementKernelMatrix( 2988 this.ref, js.Pointer(&ret), 2989 ) 2990 return 2991 } 2992 2993 // Divisor returns the value of property "SVGFEConvolveMatrixElement.divisor". 2994 // 2995 // It returns ok=false if there is no such property. 2996 func (this SVGFEConvolveMatrixElement) Divisor() (ret SVGAnimatedNumber, ok bool) { 2997 ok = js.True == bindings.GetSVGFEConvolveMatrixElementDivisor( 2998 this.ref, js.Pointer(&ret), 2999 ) 3000 return 3001 } 3002 3003 // Bias returns the value of property "SVGFEConvolveMatrixElement.bias". 3004 // 3005 // It returns ok=false if there is no such property. 3006 func (this SVGFEConvolveMatrixElement) Bias() (ret SVGAnimatedNumber, ok bool) { 3007 ok = js.True == bindings.GetSVGFEConvolveMatrixElementBias( 3008 this.ref, js.Pointer(&ret), 3009 ) 3010 return 3011 } 3012 3013 // TargetX returns the value of property "SVGFEConvolveMatrixElement.targetX". 3014 // 3015 // It returns ok=false if there is no such property. 3016 func (this SVGFEConvolveMatrixElement) TargetX() (ret SVGAnimatedInteger, ok bool) { 3017 ok = js.True == bindings.GetSVGFEConvolveMatrixElementTargetX( 3018 this.ref, js.Pointer(&ret), 3019 ) 3020 return 3021 } 3022 3023 // TargetY returns the value of property "SVGFEConvolveMatrixElement.targetY". 3024 // 3025 // It returns ok=false if there is no such property. 3026 func (this SVGFEConvolveMatrixElement) TargetY() (ret SVGAnimatedInteger, ok bool) { 3027 ok = js.True == bindings.GetSVGFEConvolveMatrixElementTargetY( 3028 this.ref, js.Pointer(&ret), 3029 ) 3030 return 3031 } 3032 3033 // EdgeMode returns the value of property "SVGFEConvolveMatrixElement.edgeMode". 3034 // 3035 // It returns ok=false if there is no such property. 3036 func (this SVGFEConvolveMatrixElement) EdgeMode() (ret SVGAnimatedEnumeration, ok bool) { 3037 ok = js.True == bindings.GetSVGFEConvolveMatrixElementEdgeMode( 3038 this.ref, js.Pointer(&ret), 3039 ) 3040 return 3041 } 3042 3043 // KernelUnitLengthX returns the value of property "SVGFEConvolveMatrixElement.kernelUnitLengthX". 3044 // 3045 // It returns ok=false if there is no such property. 3046 func (this SVGFEConvolveMatrixElement) KernelUnitLengthX() (ret SVGAnimatedNumber, ok bool) { 3047 ok = js.True == bindings.GetSVGFEConvolveMatrixElementKernelUnitLengthX( 3048 this.ref, js.Pointer(&ret), 3049 ) 3050 return 3051 } 3052 3053 // KernelUnitLengthY returns the value of property "SVGFEConvolveMatrixElement.kernelUnitLengthY". 3054 // 3055 // It returns ok=false if there is no such property. 3056 func (this SVGFEConvolveMatrixElement) KernelUnitLengthY() (ret SVGAnimatedNumber, ok bool) { 3057 ok = js.True == bindings.GetSVGFEConvolveMatrixElementKernelUnitLengthY( 3058 this.ref, js.Pointer(&ret), 3059 ) 3060 return 3061 } 3062 3063 // PreserveAlpha returns the value of property "SVGFEConvolveMatrixElement.preserveAlpha". 3064 // 3065 // It returns ok=false if there is no such property. 3066 func (this SVGFEConvolveMatrixElement) PreserveAlpha() (ret SVGAnimatedBoolean, ok bool) { 3067 ok = js.True == bindings.GetSVGFEConvolveMatrixElementPreserveAlpha( 3068 this.ref, js.Pointer(&ret), 3069 ) 3070 return 3071 } 3072 3073 // X returns the value of property "SVGFEConvolveMatrixElement.x". 3074 // 3075 // It returns ok=false if there is no such property. 3076 func (this SVGFEConvolveMatrixElement) X() (ret SVGAnimatedLength, ok bool) { 3077 ok = js.True == bindings.GetSVGFEConvolveMatrixElementX( 3078 this.ref, js.Pointer(&ret), 3079 ) 3080 return 3081 } 3082 3083 // Y returns the value of property "SVGFEConvolveMatrixElement.y". 3084 // 3085 // It returns ok=false if there is no such property. 3086 func (this SVGFEConvolveMatrixElement) Y() (ret SVGAnimatedLength, ok bool) { 3087 ok = js.True == bindings.GetSVGFEConvolveMatrixElementY( 3088 this.ref, js.Pointer(&ret), 3089 ) 3090 return 3091 } 3092 3093 // Width returns the value of property "SVGFEConvolveMatrixElement.width". 3094 // 3095 // It returns ok=false if there is no such property. 3096 func (this SVGFEConvolveMatrixElement) Width() (ret SVGAnimatedLength, ok bool) { 3097 ok = js.True == bindings.GetSVGFEConvolveMatrixElementWidth( 3098 this.ref, js.Pointer(&ret), 3099 ) 3100 return 3101 } 3102 3103 // Height returns the value of property "SVGFEConvolveMatrixElement.height". 3104 // 3105 // It returns ok=false if there is no such property. 3106 func (this SVGFEConvolveMatrixElement) Height() (ret SVGAnimatedLength, ok bool) { 3107 ok = js.True == bindings.GetSVGFEConvolveMatrixElementHeight( 3108 this.ref, js.Pointer(&ret), 3109 ) 3110 return 3111 } 3112 3113 // Result returns the value of property "SVGFEConvolveMatrixElement.result". 3114 // 3115 // It returns ok=false if there is no such property. 3116 func (this SVGFEConvolveMatrixElement) Result() (ret SVGAnimatedString, ok bool) { 3117 ok = js.True == bindings.GetSVGFEConvolveMatrixElementResult( 3118 this.ref, js.Pointer(&ret), 3119 ) 3120 return 3121 } 3122 3123 type SVGFEDiffuseLightingElement struct { 3124 SVGElement 3125 } 3126 3127 func (this SVGFEDiffuseLightingElement) Once() SVGFEDiffuseLightingElement { 3128 this.ref.Once() 3129 return this 3130 } 3131 3132 func (this SVGFEDiffuseLightingElement) Ref() js.Ref { 3133 return this.SVGElement.Ref() 3134 } 3135 3136 func (this SVGFEDiffuseLightingElement) FromRef(ref js.Ref) SVGFEDiffuseLightingElement { 3137 this.SVGElement = this.SVGElement.FromRef(ref) 3138 return this 3139 } 3140 3141 func (this SVGFEDiffuseLightingElement) Free() { 3142 this.ref.Free() 3143 } 3144 3145 // In1 returns the value of property "SVGFEDiffuseLightingElement.in1". 3146 // 3147 // It returns ok=false if there is no such property. 3148 func (this SVGFEDiffuseLightingElement) In1() (ret SVGAnimatedString, ok bool) { 3149 ok = js.True == bindings.GetSVGFEDiffuseLightingElementIn1( 3150 this.ref, js.Pointer(&ret), 3151 ) 3152 return 3153 } 3154 3155 // SurfaceScale returns the value of property "SVGFEDiffuseLightingElement.surfaceScale". 3156 // 3157 // It returns ok=false if there is no such property. 3158 func (this SVGFEDiffuseLightingElement) SurfaceScale() (ret SVGAnimatedNumber, ok bool) { 3159 ok = js.True == bindings.GetSVGFEDiffuseLightingElementSurfaceScale( 3160 this.ref, js.Pointer(&ret), 3161 ) 3162 return 3163 } 3164 3165 // DiffuseConstant returns the value of property "SVGFEDiffuseLightingElement.diffuseConstant". 3166 // 3167 // It returns ok=false if there is no such property. 3168 func (this SVGFEDiffuseLightingElement) DiffuseConstant() (ret SVGAnimatedNumber, ok bool) { 3169 ok = js.True == bindings.GetSVGFEDiffuseLightingElementDiffuseConstant( 3170 this.ref, js.Pointer(&ret), 3171 ) 3172 return 3173 } 3174 3175 // KernelUnitLengthX returns the value of property "SVGFEDiffuseLightingElement.kernelUnitLengthX". 3176 // 3177 // It returns ok=false if there is no such property. 3178 func (this SVGFEDiffuseLightingElement) KernelUnitLengthX() (ret SVGAnimatedNumber, ok bool) { 3179 ok = js.True == bindings.GetSVGFEDiffuseLightingElementKernelUnitLengthX( 3180 this.ref, js.Pointer(&ret), 3181 ) 3182 return 3183 } 3184 3185 // KernelUnitLengthY returns the value of property "SVGFEDiffuseLightingElement.kernelUnitLengthY". 3186 // 3187 // It returns ok=false if there is no such property. 3188 func (this SVGFEDiffuseLightingElement) KernelUnitLengthY() (ret SVGAnimatedNumber, ok bool) { 3189 ok = js.True == bindings.GetSVGFEDiffuseLightingElementKernelUnitLengthY( 3190 this.ref, js.Pointer(&ret), 3191 ) 3192 return 3193 } 3194 3195 // X returns the value of property "SVGFEDiffuseLightingElement.x". 3196 // 3197 // It returns ok=false if there is no such property. 3198 func (this SVGFEDiffuseLightingElement) X() (ret SVGAnimatedLength, ok bool) { 3199 ok = js.True == bindings.GetSVGFEDiffuseLightingElementX( 3200 this.ref, js.Pointer(&ret), 3201 ) 3202 return 3203 } 3204 3205 // Y returns the value of property "SVGFEDiffuseLightingElement.y". 3206 // 3207 // It returns ok=false if there is no such property. 3208 func (this SVGFEDiffuseLightingElement) Y() (ret SVGAnimatedLength, ok bool) { 3209 ok = js.True == bindings.GetSVGFEDiffuseLightingElementY( 3210 this.ref, js.Pointer(&ret), 3211 ) 3212 return 3213 } 3214 3215 // Width returns the value of property "SVGFEDiffuseLightingElement.width". 3216 // 3217 // It returns ok=false if there is no such property. 3218 func (this SVGFEDiffuseLightingElement) Width() (ret SVGAnimatedLength, ok bool) { 3219 ok = js.True == bindings.GetSVGFEDiffuseLightingElementWidth( 3220 this.ref, js.Pointer(&ret), 3221 ) 3222 return 3223 } 3224 3225 // Height returns the value of property "SVGFEDiffuseLightingElement.height". 3226 // 3227 // It returns ok=false if there is no such property. 3228 func (this SVGFEDiffuseLightingElement) Height() (ret SVGAnimatedLength, ok bool) { 3229 ok = js.True == bindings.GetSVGFEDiffuseLightingElementHeight( 3230 this.ref, js.Pointer(&ret), 3231 ) 3232 return 3233 } 3234 3235 // Result returns the value of property "SVGFEDiffuseLightingElement.result". 3236 // 3237 // It returns ok=false if there is no such property. 3238 func (this SVGFEDiffuseLightingElement) Result() (ret SVGAnimatedString, ok bool) { 3239 ok = js.True == bindings.GetSVGFEDiffuseLightingElementResult( 3240 this.ref, js.Pointer(&ret), 3241 ) 3242 return 3243 } 3244 3245 const ( 3246 SVGFEDisplacementMapElement_SVG_CHANNEL_UNKNOWN uint16 = 0 3247 SVGFEDisplacementMapElement_SVG_CHANNEL_R uint16 = 1 3248 SVGFEDisplacementMapElement_SVG_CHANNEL_G uint16 = 2 3249 SVGFEDisplacementMapElement_SVG_CHANNEL_B uint16 = 3 3250 SVGFEDisplacementMapElement_SVG_CHANNEL_A uint16 = 4 3251 ) 3252 3253 type SVGFEDisplacementMapElement struct { 3254 SVGElement 3255 } 3256 3257 func (this SVGFEDisplacementMapElement) Once() SVGFEDisplacementMapElement { 3258 this.ref.Once() 3259 return this 3260 } 3261 3262 func (this SVGFEDisplacementMapElement) Ref() js.Ref { 3263 return this.SVGElement.Ref() 3264 } 3265 3266 func (this SVGFEDisplacementMapElement) FromRef(ref js.Ref) SVGFEDisplacementMapElement { 3267 this.SVGElement = this.SVGElement.FromRef(ref) 3268 return this 3269 } 3270 3271 func (this SVGFEDisplacementMapElement) Free() { 3272 this.ref.Free() 3273 } 3274 3275 // In1 returns the value of property "SVGFEDisplacementMapElement.in1". 3276 // 3277 // It returns ok=false if there is no such property. 3278 func (this SVGFEDisplacementMapElement) In1() (ret SVGAnimatedString, ok bool) { 3279 ok = js.True == bindings.GetSVGFEDisplacementMapElementIn1( 3280 this.ref, js.Pointer(&ret), 3281 ) 3282 return 3283 } 3284 3285 // In2 returns the value of property "SVGFEDisplacementMapElement.in2". 3286 // 3287 // It returns ok=false if there is no such property. 3288 func (this SVGFEDisplacementMapElement) In2() (ret SVGAnimatedString, ok bool) { 3289 ok = js.True == bindings.GetSVGFEDisplacementMapElementIn2( 3290 this.ref, js.Pointer(&ret), 3291 ) 3292 return 3293 } 3294 3295 // Scale returns the value of property "SVGFEDisplacementMapElement.scale". 3296 // 3297 // It returns ok=false if there is no such property. 3298 func (this SVGFEDisplacementMapElement) Scale() (ret SVGAnimatedNumber, ok bool) { 3299 ok = js.True == bindings.GetSVGFEDisplacementMapElementScale( 3300 this.ref, js.Pointer(&ret), 3301 ) 3302 return 3303 } 3304 3305 // XChannelSelector returns the value of property "SVGFEDisplacementMapElement.xChannelSelector". 3306 // 3307 // It returns ok=false if there is no such property. 3308 func (this SVGFEDisplacementMapElement) XChannelSelector() (ret SVGAnimatedEnumeration, ok bool) { 3309 ok = js.True == bindings.GetSVGFEDisplacementMapElementXChannelSelector( 3310 this.ref, js.Pointer(&ret), 3311 ) 3312 return 3313 } 3314 3315 // YChannelSelector returns the value of property "SVGFEDisplacementMapElement.yChannelSelector". 3316 // 3317 // It returns ok=false if there is no such property. 3318 func (this SVGFEDisplacementMapElement) YChannelSelector() (ret SVGAnimatedEnumeration, ok bool) { 3319 ok = js.True == bindings.GetSVGFEDisplacementMapElementYChannelSelector( 3320 this.ref, js.Pointer(&ret), 3321 ) 3322 return 3323 } 3324 3325 // X returns the value of property "SVGFEDisplacementMapElement.x". 3326 // 3327 // It returns ok=false if there is no such property. 3328 func (this SVGFEDisplacementMapElement) X() (ret SVGAnimatedLength, ok bool) { 3329 ok = js.True == bindings.GetSVGFEDisplacementMapElementX( 3330 this.ref, js.Pointer(&ret), 3331 ) 3332 return 3333 } 3334 3335 // Y returns the value of property "SVGFEDisplacementMapElement.y". 3336 // 3337 // It returns ok=false if there is no such property. 3338 func (this SVGFEDisplacementMapElement) Y() (ret SVGAnimatedLength, ok bool) { 3339 ok = js.True == bindings.GetSVGFEDisplacementMapElementY( 3340 this.ref, js.Pointer(&ret), 3341 ) 3342 return 3343 } 3344 3345 // Width returns the value of property "SVGFEDisplacementMapElement.width". 3346 // 3347 // It returns ok=false if there is no such property. 3348 func (this SVGFEDisplacementMapElement) Width() (ret SVGAnimatedLength, ok bool) { 3349 ok = js.True == bindings.GetSVGFEDisplacementMapElementWidth( 3350 this.ref, js.Pointer(&ret), 3351 ) 3352 return 3353 } 3354 3355 // Height returns the value of property "SVGFEDisplacementMapElement.height". 3356 // 3357 // It returns ok=false if there is no such property. 3358 func (this SVGFEDisplacementMapElement) Height() (ret SVGAnimatedLength, ok bool) { 3359 ok = js.True == bindings.GetSVGFEDisplacementMapElementHeight( 3360 this.ref, js.Pointer(&ret), 3361 ) 3362 return 3363 } 3364 3365 // Result returns the value of property "SVGFEDisplacementMapElement.result". 3366 // 3367 // It returns ok=false if there is no such property. 3368 func (this SVGFEDisplacementMapElement) Result() (ret SVGAnimatedString, ok bool) { 3369 ok = js.True == bindings.GetSVGFEDisplacementMapElementResult( 3370 this.ref, js.Pointer(&ret), 3371 ) 3372 return 3373 } 3374 3375 type SVGFEDistantLightElement struct { 3376 SVGElement 3377 } 3378 3379 func (this SVGFEDistantLightElement) Once() SVGFEDistantLightElement { 3380 this.ref.Once() 3381 return this 3382 } 3383 3384 func (this SVGFEDistantLightElement) Ref() js.Ref { 3385 return this.SVGElement.Ref() 3386 } 3387 3388 func (this SVGFEDistantLightElement) FromRef(ref js.Ref) SVGFEDistantLightElement { 3389 this.SVGElement = this.SVGElement.FromRef(ref) 3390 return this 3391 } 3392 3393 func (this SVGFEDistantLightElement) Free() { 3394 this.ref.Free() 3395 } 3396 3397 // Azimuth returns the value of property "SVGFEDistantLightElement.azimuth". 3398 // 3399 // It returns ok=false if there is no such property. 3400 func (this SVGFEDistantLightElement) Azimuth() (ret SVGAnimatedNumber, ok bool) { 3401 ok = js.True == bindings.GetSVGFEDistantLightElementAzimuth( 3402 this.ref, js.Pointer(&ret), 3403 ) 3404 return 3405 } 3406 3407 // Elevation returns the value of property "SVGFEDistantLightElement.elevation". 3408 // 3409 // It returns ok=false if there is no such property. 3410 func (this SVGFEDistantLightElement) Elevation() (ret SVGAnimatedNumber, ok bool) { 3411 ok = js.True == bindings.GetSVGFEDistantLightElementElevation( 3412 this.ref, js.Pointer(&ret), 3413 ) 3414 return 3415 } 3416 3417 type SVGFEDropShadowElement struct { 3418 SVGElement 3419 } 3420 3421 func (this SVGFEDropShadowElement) Once() SVGFEDropShadowElement { 3422 this.ref.Once() 3423 return this 3424 } 3425 3426 func (this SVGFEDropShadowElement) Ref() js.Ref { 3427 return this.SVGElement.Ref() 3428 } 3429 3430 func (this SVGFEDropShadowElement) FromRef(ref js.Ref) SVGFEDropShadowElement { 3431 this.SVGElement = this.SVGElement.FromRef(ref) 3432 return this 3433 } 3434 3435 func (this SVGFEDropShadowElement) Free() { 3436 this.ref.Free() 3437 } 3438 3439 // In1 returns the value of property "SVGFEDropShadowElement.in1". 3440 // 3441 // It returns ok=false if there is no such property. 3442 func (this SVGFEDropShadowElement) In1() (ret SVGAnimatedString, ok bool) { 3443 ok = js.True == bindings.GetSVGFEDropShadowElementIn1( 3444 this.ref, js.Pointer(&ret), 3445 ) 3446 return 3447 } 3448 3449 // Dx returns the value of property "SVGFEDropShadowElement.dx". 3450 // 3451 // It returns ok=false if there is no such property. 3452 func (this SVGFEDropShadowElement) Dx() (ret SVGAnimatedNumber, ok bool) { 3453 ok = js.True == bindings.GetSVGFEDropShadowElementDx( 3454 this.ref, js.Pointer(&ret), 3455 ) 3456 return 3457 } 3458 3459 // Dy returns the value of property "SVGFEDropShadowElement.dy". 3460 // 3461 // It returns ok=false if there is no such property. 3462 func (this SVGFEDropShadowElement) Dy() (ret SVGAnimatedNumber, ok bool) { 3463 ok = js.True == bindings.GetSVGFEDropShadowElementDy( 3464 this.ref, js.Pointer(&ret), 3465 ) 3466 return 3467 } 3468 3469 // StdDeviationX returns the value of property "SVGFEDropShadowElement.stdDeviationX". 3470 // 3471 // It returns ok=false if there is no such property. 3472 func (this SVGFEDropShadowElement) StdDeviationX() (ret SVGAnimatedNumber, ok bool) { 3473 ok = js.True == bindings.GetSVGFEDropShadowElementStdDeviationX( 3474 this.ref, js.Pointer(&ret), 3475 ) 3476 return 3477 } 3478 3479 // StdDeviationY returns the value of property "SVGFEDropShadowElement.stdDeviationY". 3480 // 3481 // It returns ok=false if there is no such property. 3482 func (this SVGFEDropShadowElement) StdDeviationY() (ret SVGAnimatedNumber, ok bool) { 3483 ok = js.True == bindings.GetSVGFEDropShadowElementStdDeviationY( 3484 this.ref, js.Pointer(&ret), 3485 ) 3486 return 3487 } 3488 3489 // X returns the value of property "SVGFEDropShadowElement.x". 3490 // 3491 // It returns ok=false if there is no such property. 3492 func (this SVGFEDropShadowElement) X() (ret SVGAnimatedLength, ok bool) { 3493 ok = js.True == bindings.GetSVGFEDropShadowElementX( 3494 this.ref, js.Pointer(&ret), 3495 ) 3496 return 3497 } 3498 3499 // Y returns the value of property "SVGFEDropShadowElement.y". 3500 // 3501 // It returns ok=false if there is no such property. 3502 func (this SVGFEDropShadowElement) Y() (ret SVGAnimatedLength, ok bool) { 3503 ok = js.True == bindings.GetSVGFEDropShadowElementY( 3504 this.ref, js.Pointer(&ret), 3505 ) 3506 return 3507 } 3508 3509 // Width returns the value of property "SVGFEDropShadowElement.width". 3510 // 3511 // It returns ok=false if there is no such property. 3512 func (this SVGFEDropShadowElement) Width() (ret SVGAnimatedLength, ok bool) { 3513 ok = js.True == bindings.GetSVGFEDropShadowElementWidth( 3514 this.ref, js.Pointer(&ret), 3515 ) 3516 return 3517 } 3518 3519 // Height returns the value of property "SVGFEDropShadowElement.height". 3520 // 3521 // It returns ok=false if there is no such property. 3522 func (this SVGFEDropShadowElement) Height() (ret SVGAnimatedLength, ok bool) { 3523 ok = js.True == bindings.GetSVGFEDropShadowElementHeight( 3524 this.ref, js.Pointer(&ret), 3525 ) 3526 return 3527 } 3528 3529 // Result returns the value of property "SVGFEDropShadowElement.result". 3530 // 3531 // It returns ok=false if there is no such property. 3532 func (this SVGFEDropShadowElement) Result() (ret SVGAnimatedString, ok bool) { 3533 ok = js.True == bindings.GetSVGFEDropShadowElementResult( 3534 this.ref, js.Pointer(&ret), 3535 ) 3536 return 3537 } 3538 3539 // HasFuncSetStdDeviation returns true if the method "SVGFEDropShadowElement.setStdDeviation" exists. 3540 func (this SVGFEDropShadowElement) HasFuncSetStdDeviation() bool { 3541 return js.True == bindings.HasFuncSVGFEDropShadowElementSetStdDeviation( 3542 this.ref, 3543 ) 3544 } 3545 3546 // FuncSetStdDeviation returns the method "SVGFEDropShadowElement.setStdDeviation". 3547 func (this SVGFEDropShadowElement) FuncSetStdDeviation() (fn js.Func[func(stdDeviationX float32, stdDeviationY float32)]) { 3548 bindings.FuncSVGFEDropShadowElementSetStdDeviation( 3549 this.ref, js.Pointer(&fn), 3550 ) 3551 return 3552 } 3553 3554 // SetStdDeviation calls the method "SVGFEDropShadowElement.setStdDeviation". 3555 func (this SVGFEDropShadowElement) SetStdDeviation(stdDeviationX float32, stdDeviationY float32) (ret js.Void) { 3556 bindings.CallSVGFEDropShadowElementSetStdDeviation( 3557 this.ref, js.Pointer(&ret), 3558 float32(stdDeviationX), 3559 float32(stdDeviationY), 3560 ) 3561 3562 return 3563 } 3564 3565 // TrySetStdDeviation calls the method "SVGFEDropShadowElement.setStdDeviation" 3566 // in a try/catch block and returns (_, err, ok = false) when it went through 3567 // the catch clause. 3568 func (this SVGFEDropShadowElement) TrySetStdDeviation(stdDeviationX float32, stdDeviationY float32) (ret js.Void, exception js.Any, ok bool) { 3569 ok = js.True == bindings.TrySVGFEDropShadowElementSetStdDeviation( 3570 this.ref, js.Pointer(&ret), js.Pointer(&exception), 3571 float32(stdDeviationX), 3572 float32(stdDeviationY), 3573 ) 3574 3575 return 3576 } 3577 3578 type SVGFEFloodElement struct { 3579 SVGElement 3580 } 3581 3582 func (this SVGFEFloodElement) Once() SVGFEFloodElement { 3583 this.ref.Once() 3584 return this 3585 } 3586 3587 func (this SVGFEFloodElement) Ref() js.Ref { 3588 return this.SVGElement.Ref() 3589 } 3590 3591 func (this SVGFEFloodElement) FromRef(ref js.Ref) SVGFEFloodElement { 3592 this.SVGElement = this.SVGElement.FromRef(ref) 3593 return this 3594 } 3595 3596 func (this SVGFEFloodElement) Free() { 3597 this.ref.Free() 3598 } 3599 3600 // X returns the value of property "SVGFEFloodElement.x". 3601 // 3602 // It returns ok=false if there is no such property. 3603 func (this SVGFEFloodElement) X() (ret SVGAnimatedLength, ok bool) { 3604 ok = js.True == bindings.GetSVGFEFloodElementX( 3605 this.ref, js.Pointer(&ret), 3606 ) 3607 return 3608 } 3609 3610 // Y returns the value of property "SVGFEFloodElement.y". 3611 // 3612 // It returns ok=false if there is no such property. 3613 func (this SVGFEFloodElement) Y() (ret SVGAnimatedLength, ok bool) { 3614 ok = js.True == bindings.GetSVGFEFloodElementY( 3615 this.ref, js.Pointer(&ret), 3616 ) 3617 return 3618 } 3619 3620 // Width returns the value of property "SVGFEFloodElement.width". 3621 // 3622 // It returns ok=false if there is no such property. 3623 func (this SVGFEFloodElement) Width() (ret SVGAnimatedLength, ok bool) { 3624 ok = js.True == bindings.GetSVGFEFloodElementWidth( 3625 this.ref, js.Pointer(&ret), 3626 ) 3627 return 3628 } 3629 3630 // Height returns the value of property "SVGFEFloodElement.height". 3631 // 3632 // It returns ok=false if there is no such property. 3633 func (this SVGFEFloodElement) Height() (ret SVGAnimatedLength, ok bool) { 3634 ok = js.True == bindings.GetSVGFEFloodElementHeight( 3635 this.ref, js.Pointer(&ret), 3636 ) 3637 return 3638 } 3639 3640 // Result returns the value of property "SVGFEFloodElement.result". 3641 // 3642 // It returns ok=false if there is no such property. 3643 func (this SVGFEFloodElement) Result() (ret SVGAnimatedString, ok bool) { 3644 ok = js.True == bindings.GetSVGFEFloodElementResult( 3645 this.ref, js.Pointer(&ret), 3646 ) 3647 return 3648 } 3649 3650 type SVGFEFuncAElement struct { 3651 SVGComponentTransferFunctionElement 3652 } 3653 3654 func (this SVGFEFuncAElement) Once() SVGFEFuncAElement { 3655 this.ref.Once() 3656 return this 3657 } 3658 3659 func (this SVGFEFuncAElement) Ref() js.Ref { 3660 return this.SVGComponentTransferFunctionElement.Ref() 3661 } 3662 3663 func (this SVGFEFuncAElement) FromRef(ref js.Ref) SVGFEFuncAElement { 3664 this.SVGComponentTransferFunctionElement = this.SVGComponentTransferFunctionElement.FromRef(ref) 3665 return this 3666 } 3667 3668 func (this SVGFEFuncAElement) Free() { 3669 this.ref.Free() 3670 } 3671 3672 type SVGFEFuncBElement struct { 3673 SVGComponentTransferFunctionElement 3674 } 3675 3676 func (this SVGFEFuncBElement) Once() SVGFEFuncBElement { 3677 this.ref.Once() 3678 return this 3679 } 3680 3681 func (this SVGFEFuncBElement) Ref() js.Ref { 3682 return this.SVGComponentTransferFunctionElement.Ref() 3683 } 3684 3685 func (this SVGFEFuncBElement) FromRef(ref js.Ref) SVGFEFuncBElement { 3686 this.SVGComponentTransferFunctionElement = this.SVGComponentTransferFunctionElement.FromRef(ref) 3687 return this 3688 } 3689 3690 func (this SVGFEFuncBElement) Free() { 3691 this.ref.Free() 3692 } 3693 3694 type SVGFEFuncGElement struct { 3695 SVGComponentTransferFunctionElement 3696 } 3697 3698 func (this SVGFEFuncGElement) Once() SVGFEFuncGElement { 3699 this.ref.Once() 3700 return this 3701 } 3702 3703 func (this SVGFEFuncGElement) Ref() js.Ref { 3704 return this.SVGComponentTransferFunctionElement.Ref() 3705 } 3706 3707 func (this SVGFEFuncGElement) FromRef(ref js.Ref) SVGFEFuncGElement { 3708 this.SVGComponentTransferFunctionElement = this.SVGComponentTransferFunctionElement.FromRef(ref) 3709 return this 3710 } 3711 3712 func (this SVGFEFuncGElement) Free() { 3713 this.ref.Free() 3714 } 3715 3716 type SVGFEFuncRElement struct { 3717 SVGComponentTransferFunctionElement 3718 } 3719 3720 func (this SVGFEFuncRElement) Once() SVGFEFuncRElement { 3721 this.ref.Once() 3722 return this 3723 } 3724 3725 func (this SVGFEFuncRElement) Ref() js.Ref { 3726 return this.SVGComponentTransferFunctionElement.Ref() 3727 } 3728 3729 func (this SVGFEFuncRElement) FromRef(ref js.Ref) SVGFEFuncRElement { 3730 this.SVGComponentTransferFunctionElement = this.SVGComponentTransferFunctionElement.FromRef(ref) 3731 return this 3732 } 3733 3734 func (this SVGFEFuncRElement) Free() { 3735 this.ref.Free() 3736 } 3737 3738 const ( 3739 SVGFEGaussianBlurElement_SVG_EDGEMODE_UNKNOWN uint16 = 0 3740 SVGFEGaussianBlurElement_SVG_EDGEMODE_DUPLICATE uint16 = 1 3741 SVGFEGaussianBlurElement_SVG_EDGEMODE_WRAP uint16 = 2 3742 SVGFEGaussianBlurElement_SVG_EDGEMODE_NONE uint16 = 3 3743 ) 3744 3745 type SVGFEGaussianBlurElement struct { 3746 SVGElement 3747 } 3748 3749 func (this SVGFEGaussianBlurElement) Once() SVGFEGaussianBlurElement { 3750 this.ref.Once() 3751 return this 3752 } 3753 3754 func (this SVGFEGaussianBlurElement) Ref() js.Ref { 3755 return this.SVGElement.Ref() 3756 } 3757 3758 func (this SVGFEGaussianBlurElement) FromRef(ref js.Ref) SVGFEGaussianBlurElement { 3759 this.SVGElement = this.SVGElement.FromRef(ref) 3760 return this 3761 } 3762 3763 func (this SVGFEGaussianBlurElement) Free() { 3764 this.ref.Free() 3765 } 3766 3767 // In1 returns the value of property "SVGFEGaussianBlurElement.in1". 3768 // 3769 // It returns ok=false if there is no such property. 3770 func (this SVGFEGaussianBlurElement) In1() (ret SVGAnimatedString, ok bool) { 3771 ok = js.True == bindings.GetSVGFEGaussianBlurElementIn1( 3772 this.ref, js.Pointer(&ret), 3773 ) 3774 return 3775 } 3776 3777 // StdDeviationX returns the value of property "SVGFEGaussianBlurElement.stdDeviationX". 3778 // 3779 // It returns ok=false if there is no such property. 3780 func (this SVGFEGaussianBlurElement) StdDeviationX() (ret SVGAnimatedNumber, ok bool) { 3781 ok = js.True == bindings.GetSVGFEGaussianBlurElementStdDeviationX( 3782 this.ref, js.Pointer(&ret), 3783 ) 3784 return 3785 } 3786 3787 // StdDeviationY returns the value of property "SVGFEGaussianBlurElement.stdDeviationY". 3788 // 3789 // It returns ok=false if there is no such property. 3790 func (this SVGFEGaussianBlurElement) StdDeviationY() (ret SVGAnimatedNumber, ok bool) { 3791 ok = js.True == bindings.GetSVGFEGaussianBlurElementStdDeviationY( 3792 this.ref, js.Pointer(&ret), 3793 ) 3794 return 3795 } 3796 3797 // EdgeMode returns the value of property "SVGFEGaussianBlurElement.edgeMode". 3798 // 3799 // It returns ok=false if there is no such property. 3800 func (this SVGFEGaussianBlurElement) EdgeMode() (ret SVGAnimatedEnumeration, ok bool) { 3801 ok = js.True == bindings.GetSVGFEGaussianBlurElementEdgeMode( 3802 this.ref, js.Pointer(&ret), 3803 ) 3804 return 3805 } 3806 3807 // X returns the value of property "SVGFEGaussianBlurElement.x". 3808 // 3809 // It returns ok=false if there is no such property. 3810 func (this SVGFEGaussianBlurElement) X() (ret SVGAnimatedLength, ok bool) { 3811 ok = js.True == bindings.GetSVGFEGaussianBlurElementX( 3812 this.ref, js.Pointer(&ret), 3813 ) 3814 return 3815 } 3816 3817 // Y returns the value of property "SVGFEGaussianBlurElement.y". 3818 // 3819 // It returns ok=false if there is no such property. 3820 func (this SVGFEGaussianBlurElement) Y() (ret SVGAnimatedLength, ok bool) { 3821 ok = js.True == bindings.GetSVGFEGaussianBlurElementY( 3822 this.ref, js.Pointer(&ret), 3823 ) 3824 return 3825 } 3826 3827 // Width returns the value of property "SVGFEGaussianBlurElement.width". 3828 // 3829 // It returns ok=false if there is no such property. 3830 func (this SVGFEGaussianBlurElement) Width() (ret SVGAnimatedLength, ok bool) { 3831 ok = js.True == bindings.GetSVGFEGaussianBlurElementWidth( 3832 this.ref, js.Pointer(&ret), 3833 ) 3834 return 3835 } 3836 3837 // Height returns the value of property "SVGFEGaussianBlurElement.height". 3838 // 3839 // It returns ok=false if there is no such property. 3840 func (this SVGFEGaussianBlurElement) Height() (ret SVGAnimatedLength, ok bool) { 3841 ok = js.True == bindings.GetSVGFEGaussianBlurElementHeight( 3842 this.ref, js.Pointer(&ret), 3843 ) 3844 return 3845 } 3846 3847 // Result returns the value of property "SVGFEGaussianBlurElement.result". 3848 // 3849 // It returns ok=false if there is no such property. 3850 func (this SVGFEGaussianBlurElement) Result() (ret SVGAnimatedString, ok bool) { 3851 ok = js.True == bindings.GetSVGFEGaussianBlurElementResult( 3852 this.ref, js.Pointer(&ret), 3853 ) 3854 return 3855 } 3856 3857 // HasFuncSetStdDeviation returns true if the method "SVGFEGaussianBlurElement.setStdDeviation" exists. 3858 func (this SVGFEGaussianBlurElement) HasFuncSetStdDeviation() bool { 3859 return js.True == bindings.HasFuncSVGFEGaussianBlurElementSetStdDeviation( 3860 this.ref, 3861 ) 3862 } 3863 3864 // FuncSetStdDeviation returns the method "SVGFEGaussianBlurElement.setStdDeviation". 3865 func (this SVGFEGaussianBlurElement) FuncSetStdDeviation() (fn js.Func[func(stdDeviationX float32, stdDeviationY float32)]) { 3866 bindings.FuncSVGFEGaussianBlurElementSetStdDeviation( 3867 this.ref, js.Pointer(&fn), 3868 ) 3869 return 3870 } 3871 3872 // SetStdDeviation calls the method "SVGFEGaussianBlurElement.setStdDeviation". 3873 func (this SVGFEGaussianBlurElement) SetStdDeviation(stdDeviationX float32, stdDeviationY float32) (ret js.Void) { 3874 bindings.CallSVGFEGaussianBlurElementSetStdDeviation( 3875 this.ref, js.Pointer(&ret), 3876 float32(stdDeviationX), 3877 float32(stdDeviationY), 3878 ) 3879 3880 return 3881 } 3882 3883 // TrySetStdDeviation calls the method "SVGFEGaussianBlurElement.setStdDeviation" 3884 // in a try/catch block and returns (_, err, ok = false) when it went through 3885 // the catch clause. 3886 func (this SVGFEGaussianBlurElement) TrySetStdDeviation(stdDeviationX float32, stdDeviationY float32) (ret js.Void, exception js.Any, ok bool) { 3887 ok = js.True == bindings.TrySVGFEGaussianBlurElementSetStdDeviation( 3888 this.ref, js.Pointer(&ret), js.Pointer(&exception), 3889 float32(stdDeviationX), 3890 float32(stdDeviationY), 3891 ) 3892 3893 return 3894 } 3895 3896 type SVGFEImageElement struct { 3897 SVGElement 3898 } 3899 3900 func (this SVGFEImageElement) Once() SVGFEImageElement { 3901 this.ref.Once() 3902 return this 3903 } 3904 3905 func (this SVGFEImageElement) Ref() js.Ref { 3906 return this.SVGElement.Ref() 3907 } 3908 3909 func (this SVGFEImageElement) FromRef(ref js.Ref) SVGFEImageElement { 3910 this.SVGElement = this.SVGElement.FromRef(ref) 3911 return this 3912 } 3913 3914 func (this SVGFEImageElement) Free() { 3915 this.ref.Free() 3916 } 3917 3918 // PreserveAspectRatio returns the value of property "SVGFEImageElement.preserveAspectRatio". 3919 // 3920 // It returns ok=false if there is no such property. 3921 func (this SVGFEImageElement) PreserveAspectRatio() (ret SVGAnimatedPreserveAspectRatio, ok bool) { 3922 ok = js.True == bindings.GetSVGFEImageElementPreserveAspectRatio( 3923 this.ref, js.Pointer(&ret), 3924 ) 3925 return 3926 } 3927 3928 // CrossOrigin returns the value of property "SVGFEImageElement.crossOrigin". 3929 // 3930 // It returns ok=false if there is no such property. 3931 func (this SVGFEImageElement) CrossOrigin() (ret SVGAnimatedString, ok bool) { 3932 ok = js.True == bindings.GetSVGFEImageElementCrossOrigin( 3933 this.ref, js.Pointer(&ret), 3934 ) 3935 return 3936 } 3937 3938 // X returns the value of property "SVGFEImageElement.x". 3939 // 3940 // It returns ok=false if there is no such property. 3941 func (this SVGFEImageElement) X() (ret SVGAnimatedLength, ok bool) { 3942 ok = js.True == bindings.GetSVGFEImageElementX( 3943 this.ref, js.Pointer(&ret), 3944 ) 3945 return 3946 } 3947 3948 // Y returns the value of property "SVGFEImageElement.y". 3949 // 3950 // It returns ok=false if there is no such property. 3951 func (this SVGFEImageElement) Y() (ret SVGAnimatedLength, ok bool) { 3952 ok = js.True == bindings.GetSVGFEImageElementY( 3953 this.ref, js.Pointer(&ret), 3954 ) 3955 return 3956 } 3957 3958 // Width returns the value of property "SVGFEImageElement.width". 3959 // 3960 // It returns ok=false if there is no such property. 3961 func (this SVGFEImageElement) Width() (ret SVGAnimatedLength, ok bool) { 3962 ok = js.True == bindings.GetSVGFEImageElementWidth( 3963 this.ref, js.Pointer(&ret), 3964 ) 3965 return 3966 } 3967 3968 // Height returns the value of property "SVGFEImageElement.height". 3969 // 3970 // It returns ok=false if there is no such property. 3971 func (this SVGFEImageElement) Height() (ret SVGAnimatedLength, ok bool) { 3972 ok = js.True == bindings.GetSVGFEImageElementHeight( 3973 this.ref, js.Pointer(&ret), 3974 ) 3975 return 3976 } 3977 3978 // Result returns the value of property "SVGFEImageElement.result". 3979 // 3980 // It returns ok=false if there is no such property. 3981 func (this SVGFEImageElement) Result() (ret SVGAnimatedString, ok bool) { 3982 ok = js.True == bindings.GetSVGFEImageElementResult( 3983 this.ref, js.Pointer(&ret), 3984 ) 3985 return 3986 } 3987 3988 // Href returns the value of property "SVGFEImageElement.href". 3989 // 3990 // It returns ok=false if there is no such property. 3991 func (this SVGFEImageElement) Href() (ret SVGAnimatedString, ok bool) { 3992 ok = js.True == bindings.GetSVGFEImageElementHref( 3993 this.ref, js.Pointer(&ret), 3994 ) 3995 return 3996 } 3997 3998 type SVGFEMergeElement struct { 3999 SVGElement 4000 } 4001 4002 func (this SVGFEMergeElement) Once() SVGFEMergeElement { 4003 this.ref.Once() 4004 return this 4005 } 4006 4007 func (this SVGFEMergeElement) Ref() js.Ref { 4008 return this.SVGElement.Ref() 4009 } 4010 4011 func (this SVGFEMergeElement) FromRef(ref js.Ref) SVGFEMergeElement { 4012 this.SVGElement = this.SVGElement.FromRef(ref) 4013 return this 4014 } 4015 4016 func (this SVGFEMergeElement) Free() { 4017 this.ref.Free() 4018 } 4019 4020 // X returns the value of property "SVGFEMergeElement.x". 4021 // 4022 // It returns ok=false if there is no such property. 4023 func (this SVGFEMergeElement) X() (ret SVGAnimatedLength, ok bool) { 4024 ok = js.True == bindings.GetSVGFEMergeElementX( 4025 this.ref, js.Pointer(&ret), 4026 ) 4027 return 4028 } 4029 4030 // Y returns the value of property "SVGFEMergeElement.y". 4031 // 4032 // It returns ok=false if there is no such property. 4033 func (this SVGFEMergeElement) Y() (ret SVGAnimatedLength, ok bool) { 4034 ok = js.True == bindings.GetSVGFEMergeElementY( 4035 this.ref, js.Pointer(&ret), 4036 ) 4037 return 4038 } 4039 4040 // Width returns the value of property "SVGFEMergeElement.width". 4041 // 4042 // It returns ok=false if there is no such property. 4043 func (this SVGFEMergeElement) Width() (ret SVGAnimatedLength, ok bool) { 4044 ok = js.True == bindings.GetSVGFEMergeElementWidth( 4045 this.ref, js.Pointer(&ret), 4046 ) 4047 return 4048 } 4049 4050 // Height returns the value of property "SVGFEMergeElement.height". 4051 // 4052 // It returns ok=false if there is no such property. 4053 func (this SVGFEMergeElement) Height() (ret SVGAnimatedLength, ok bool) { 4054 ok = js.True == bindings.GetSVGFEMergeElementHeight( 4055 this.ref, js.Pointer(&ret), 4056 ) 4057 return 4058 } 4059 4060 // Result returns the value of property "SVGFEMergeElement.result". 4061 // 4062 // It returns ok=false if there is no such property. 4063 func (this SVGFEMergeElement) Result() (ret SVGAnimatedString, ok bool) { 4064 ok = js.True == bindings.GetSVGFEMergeElementResult( 4065 this.ref, js.Pointer(&ret), 4066 ) 4067 return 4068 } 4069 4070 type SVGFEMergeNodeElement struct { 4071 SVGElement 4072 } 4073 4074 func (this SVGFEMergeNodeElement) Once() SVGFEMergeNodeElement { 4075 this.ref.Once() 4076 return this 4077 } 4078 4079 func (this SVGFEMergeNodeElement) Ref() js.Ref { 4080 return this.SVGElement.Ref() 4081 } 4082 4083 func (this SVGFEMergeNodeElement) FromRef(ref js.Ref) SVGFEMergeNodeElement { 4084 this.SVGElement = this.SVGElement.FromRef(ref) 4085 return this 4086 } 4087 4088 func (this SVGFEMergeNodeElement) Free() { 4089 this.ref.Free() 4090 } 4091 4092 // In1 returns the value of property "SVGFEMergeNodeElement.in1". 4093 // 4094 // It returns ok=false if there is no such property. 4095 func (this SVGFEMergeNodeElement) In1() (ret SVGAnimatedString, ok bool) { 4096 ok = js.True == bindings.GetSVGFEMergeNodeElementIn1( 4097 this.ref, js.Pointer(&ret), 4098 ) 4099 return 4100 } 4101 4102 const ( 4103 SVGFEMorphologyElement_SVG_MORPHOLOGY_OPERATOR_UNKNOWN uint16 = 0 4104 SVGFEMorphologyElement_SVG_MORPHOLOGY_OPERATOR_ERODE uint16 = 1 4105 SVGFEMorphologyElement_SVG_MORPHOLOGY_OPERATOR_DILATE uint16 = 2 4106 ) 4107 4108 type SVGFEMorphologyElement struct { 4109 SVGElement 4110 } 4111 4112 func (this SVGFEMorphologyElement) Once() SVGFEMorphologyElement { 4113 this.ref.Once() 4114 return this 4115 } 4116 4117 func (this SVGFEMorphologyElement) Ref() js.Ref { 4118 return this.SVGElement.Ref() 4119 } 4120 4121 func (this SVGFEMorphologyElement) FromRef(ref js.Ref) SVGFEMorphologyElement { 4122 this.SVGElement = this.SVGElement.FromRef(ref) 4123 return this 4124 } 4125 4126 func (this SVGFEMorphologyElement) Free() { 4127 this.ref.Free() 4128 } 4129 4130 // In1 returns the value of property "SVGFEMorphologyElement.in1". 4131 // 4132 // It returns ok=false if there is no such property. 4133 func (this SVGFEMorphologyElement) In1() (ret SVGAnimatedString, ok bool) { 4134 ok = js.True == bindings.GetSVGFEMorphologyElementIn1( 4135 this.ref, js.Pointer(&ret), 4136 ) 4137 return 4138 } 4139 4140 // Operator returns the value of property "SVGFEMorphologyElement.operator". 4141 // 4142 // It returns ok=false if there is no such property. 4143 func (this SVGFEMorphologyElement) Operator() (ret SVGAnimatedEnumeration, ok bool) { 4144 ok = js.True == bindings.GetSVGFEMorphologyElementOperator( 4145 this.ref, js.Pointer(&ret), 4146 ) 4147 return 4148 } 4149 4150 // RadiusX returns the value of property "SVGFEMorphologyElement.radiusX". 4151 // 4152 // It returns ok=false if there is no such property. 4153 func (this SVGFEMorphologyElement) RadiusX() (ret SVGAnimatedNumber, ok bool) { 4154 ok = js.True == bindings.GetSVGFEMorphologyElementRadiusX( 4155 this.ref, js.Pointer(&ret), 4156 ) 4157 return 4158 } 4159 4160 // RadiusY returns the value of property "SVGFEMorphologyElement.radiusY". 4161 // 4162 // It returns ok=false if there is no such property. 4163 func (this SVGFEMorphologyElement) RadiusY() (ret SVGAnimatedNumber, ok bool) { 4164 ok = js.True == bindings.GetSVGFEMorphologyElementRadiusY( 4165 this.ref, js.Pointer(&ret), 4166 ) 4167 return 4168 } 4169 4170 // X returns the value of property "SVGFEMorphologyElement.x". 4171 // 4172 // It returns ok=false if there is no such property. 4173 func (this SVGFEMorphologyElement) X() (ret SVGAnimatedLength, ok bool) { 4174 ok = js.True == bindings.GetSVGFEMorphologyElementX( 4175 this.ref, js.Pointer(&ret), 4176 ) 4177 return 4178 } 4179 4180 // Y returns the value of property "SVGFEMorphologyElement.y". 4181 // 4182 // It returns ok=false if there is no such property. 4183 func (this SVGFEMorphologyElement) Y() (ret SVGAnimatedLength, ok bool) { 4184 ok = js.True == bindings.GetSVGFEMorphologyElementY( 4185 this.ref, js.Pointer(&ret), 4186 ) 4187 return 4188 } 4189 4190 // Width returns the value of property "SVGFEMorphologyElement.width". 4191 // 4192 // It returns ok=false if there is no such property. 4193 func (this SVGFEMorphologyElement) Width() (ret SVGAnimatedLength, ok bool) { 4194 ok = js.True == bindings.GetSVGFEMorphologyElementWidth( 4195 this.ref, js.Pointer(&ret), 4196 ) 4197 return 4198 } 4199 4200 // Height returns the value of property "SVGFEMorphologyElement.height". 4201 // 4202 // It returns ok=false if there is no such property. 4203 func (this SVGFEMorphologyElement) Height() (ret SVGAnimatedLength, ok bool) { 4204 ok = js.True == bindings.GetSVGFEMorphologyElementHeight( 4205 this.ref, js.Pointer(&ret), 4206 ) 4207 return 4208 } 4209 4210 // Result returns the value of property "SVGFEMorphologyElement.result". 4211 // 4212 // It returns ok=false if there is no such property. 4213 func (this SVGFEMorphologyElement) Result() (ret SVGAnimatedString, ok bool) { 4214 ok = js.True == bindings.GetSVGFEMorphologyElementResult( 4215 this.ref, js.Pointer(&ret), 4216 ) 4217 return 4218 } 4219 4220 type SVGFEOffsetElement struct { 4221 SVGElement 4222 } 4223 4224 func (this SVGFEOffsetElement) Once() SVGFEOffsetElement { 4225 this.ref.Once() 4226 return this 4227 } 4228 4229 func (this SVGFEOffsetElement) Ref() js.Ref { 4230 return this.SVGElement.Ref() 4231 } 4232 4233 func (this SVGFEOffsetElement) FromRef(ref js.Ref) SVGFEOffsetElement { 4234 this.SVGElement = this.SVGElement.FromRef(ref) 4235 return this 4236 } 4237 4238 func (this SVGFEOffsetElement) Free() { 4239 this.ref.Free() 4240 } 4241 4242 // In1 returns the value of property "SVGFEOffsetElement.in1". 4243 // 4244 // It returns ok=false if there is no such property. 4245 func (this SVGFEOffsetElement) In1() (ret SVGAnimatedString, ok bool) { 4246 ok = js.True == bindings.GetSVGFEOffsetElementIn1( 4247 this.ref, js.Pointer(&ret), 4248 ) 4249 return 4250 } 4251 4252 // Dx returns the value of property "SVGFEOffsetElement.dx". 4253 // 4254 // It returns ok=false if there is no such property. 4255 func (this SVGFEOffsetElement) Dx() (ret SVGAnimatedNumber, ok bool) { 4256 ok = js.True == bindings.GetSVGFEOffsetElementDx( 4257 this.ref, js.Pointer(&ret), 4258 ) 4259 return 4260 } 4261 4262 // Dy returns the value of property "SVGFEOffsetElement.dy". 4263 // 4264 // It returns ok=false if there is no such property. 4265 func (this SVGFEOffsetElement) Dy() (ret SVGAnimatedNumber, ok bool) { 4266 ok = js.True == bindings.GetSVGFEOffsetElementDy( 4267 this.ref, js.Pointer(&ret), 4268 ) 4269 return 4270 } 4271 4272 // X returns the value of property "SVGFEOffsetElement.x". 4273 // 4274 // It returns ok=false if there is no such property. 4275 func (this SVGFEOffsetElement) X() (ret SVGAnimatedLength, ok bool) { 4276 ok = js.True == bindings.GetSVGFEOffsetElementX( 4277 this.ref, js.Pointer(&ret), 4278 ) 4279 return 4280 } 4281 4282 // Y returns the value of property "SVGFEOffsetElement.y". 4283 // 4284 // It returns ok=false if there is no such property. 4285 func (this SVGFEOffsetElement) Y() (ret SVGAnimatedLength, ok bool) { 4286 ok = js.True == bindings.GetSVGFEOffsetElementY( 4287 this.ref, js.Pointer(&ret), 4288 ) 4289 return 4290 } 4291 4292 // Width returns the value of property "SVGFEOffsetElement.width". 4293 // 4294 // It returns ok=false if there is no such property. 4295 func (this SVGFEOffsetElement) Width() (ret SVGAnimatedLength, ok bool) { 4296 ok = js.True == bindings.GetSVGFEOffsetElementWidth( 4297 this.ref, js.Pointer(&ret), 4298 ) 4299 return 4300 } 4301 4302 // Height returns the value of property "SVGFEOffsetElement.height". 4303 // 4304 // It returns ok=false if there is no such property. 4305 func (this SVGFEOffsetElement) Height() (ret SVGAnimatedLength, ok bool) { 4306 ok = js.True == bindings.GetSVGFEOffsetElementHeight( 4307 this.ref, js.Pointer(&ret), 4308 ) 4309 return 4310 } 4311 4312 // Result returns the value of property "SVGFEOffsetElement.result". 4313 // 4314 // It returns ok=false if there is no such property. 4315 func (this SVGFEOffsetElement) Result() (ret SVGAnimatedString, ok bool) { 4316 ok = js.True == bindings.GetSVGFEOffsetElementResult( 4317 this.ref, js.Pointer(&ret), 4318 ) 4319 return 4320 } 4321 4322 type SVGFEPointLightElement struct { 4323 SVGElement 4324 } 4325 4326 func (this SVGFEPointLightElement) Once() SVGFEPointLightElement { 4327 this.ref.Once() 4328 return this 4329 } 4330 4331 func (this SVGFEPointLightElement) Ref() js.Ref { 4332 return this.SVGElement.Ref() 4333 } 4334 4335 func (this SVGFEPointLightElement) FromRef(ref js.Ref) SVGFEPointLightElement { 4336 this.SVGElement = this.SVGElement.FromRef(ref) 4337 return this 4338 } 4339 4340 func (this SVGFEPointLightElement) Free() { 4341 this.ref.Free() 4342 } 4343 4344 // X returns the value of property "SVGFEPointLightElement.x". 4345 // 4346 // It returns ok=false if there is no such property. 4347 func (this SVGFEPointLightElement) X() (ret SVGAnimatedNumber, ok bool) { 4348 ok = js.True == bindings.GetSVGFEPointLightElementX( 4349 this.ref, js.Pointer(&ret), 4350 ) 4351 return 4352 } 4353 4354 // Y returns the value of property "SVGFEPointLightElement.y". 4355 // 4356 // It returns ok=false if there is no such property. 4357 func (this SVGFEPointLightElement) Y() (ret SVGAnimatedNumber, ok bool) { 4358 ok = js.True == bindings.GetSVGFEPointLightElementY( 4359 this.ref, js.Pointer(&ret), 4360 ) 4361 return 4362 } 4363 4364 // Z returns the value of property "SVGFEPointLightElement.z". 4365 // 4366 // It returns ok=false if there is no such property. 4367 func (this SVGFEPointLightElement) Z() (ret SVGAnimatedNumber, ok bool) { 4368 ok = js.True == bindings.GetSVGFEPointLightElementZ( 4369 this.ref, js.Pointer(&ret), 4370 ) 4371 return 4372 } 4373 4374 type SVGFESpecularLightingElement struct { 4375 SVGElement 4376 } 4377 4378 func (this SVGFESpecularLightingElement) Once() SVGFESpecularLightingElement { 4379 this.ref.Once() 4380 return this 4381 } 4382 4383 func (this SVGFESpecularLightingElement) Ref() js.Ref { 4384 return this.SVGElement.Ref() 4385 } 4386 4387 func (this SVGFESpecularLightingElement) FromRef(ref js.Ref) SVGFESpecularLightingElement { 4388 this.SVGElement = this.SVGElement.FromRef(ref) 4389 return this 4390 } 4391 4392 func (this SVGFESpecularLightingElement) Free() { 4393 this.ref.Free() 4394 } 4395 4396 // In1 returns the value of property "SVGFESpecularLightingElement.in1". 4397 // 4398 // It returns ok=false if there is no such property. 4399 func (this SVGFESpecularLightingElement) In1() (ret SVGAnimatedString, ok bool) { 4400 ok = js.True == bindings.GetSVGFESpecularLightingElementIn1( 4401 this.ref, js.Pointer(&ret), 4402 ) 4403 return 4404 } 4405 4406 // SurfaceScale returns the value of property "SVGFESpecularLightingElement.surfaceScale". 4407 // 4408 // It returns ok=false if there is no such property. 4409 func (this SVGFESpecularLightingElement) SurfaceScale() (ret SVGAnimatedNumber, ok bool) { 4410 ok = js.True == bindings.GetSVGFESpecularLightingElementSurfaceScale( 4411 this.ref, js.Pointer(&ret), 4412 ) 4413 return 4414 } 4415 4416 // SpecularConstant returns the value of property "SVGFESpecularLightingElement.specularConstant". 4417 // 4418 // It returns ok=false if there is no such property. 4419 func (this SVGFESpecularLightingElement) SpecularConstant() (ret SVGAnimatedNumber, ok bool) { 4420 ok = js.True == bindings.GetSVGFESpecularLightingElementSpecularConstant( 4421 this.ref, js.Pointer(&ret), 4422 ) 4423 return 4424 } 4425 4426 // SpecularExponent returns the value of property "SVGFESpecularLightingElement.specularExponent". 4427 // 4428 // It returns ok=false if there is no such property. 4429 func (this SVGFESpecularLightingElement) SpecularExponent() (ret SVGAnimatedNumber, ok bool) { 4430 ok = js.True == bindings.GetSVGFESpecularLightingElementSpecularExponent( 4431 this.ref, js.Pointer(&ret), 4432 ) 4433 return 4434 } 4435 4436 // KernelUnitLengthX returns the value of property "SVGFESpecularLightingElement.kernelUnitLengthX". 4437 // 4438 // It returns ok=false if there is no such property. 4439 func (this SVGFESpecularLightingElement) KernelUnitLengthX() (ret SVGAnimatedNumber, ok bool) { 4440 ok = js.True == bindings.GetSVGFESpecularLightingElementKernelUnitLengthX( 4441 this.ref, js.Pointer(&ret), 4442 ) 4443 return 4444 } 4445 4446 // KernelUnitLengthY returns the value of property "SVGFESpecularLightingElement.kernelUnitLengthY". 4447 // 4448 // It returns ok=false if there is no such property. 4449 func (this SVGFESpecularLightingElement) KernelUnitLengthY() (ret SVGAnimatedNumber, ok bool) { 4450 ok = js.True == bindings.GetSVGFESpecularLightingElementKernelUnitLengthY( 4451 this.ref, js.Pointer(&ret), 4452 ) 4453 return 4454 } 4455 4456 // X returns the value of property "SVGFESpecularLightingElement.x". 4457 // 4458 // It returns ok=false if there is no such property. 4459 func (this SVGFESpecularLightingElement) X() (ret SVGAnimatedLength, ok bool) { 4460 ok = js.True == bindings.GetSVGFESpecularLightingElementX( 4461 this.ref, js.Pointer(&ret), 4462 ) 4463 return 4464 } 4465 4466 // Y returns the value of property "SVGFESpecularLightingElement.y". 4467 // 4468 // It returns ok=false if there is no such property. 4469 func (this SVGFESpecularLightingElement) Y() (ret SVGAnimatedLength, ok bool) { 4470 ok = js.True == bindings.GetSVGFESpecularLightingElementY( 4471 this.ref, js.Pointer(&ret), 4472 ) 4473 return 4474 } 4475 4476 // Width returns the value of property "SVGFESpecularLightingElement.width". 4477 // 4478 // It returns ok=false if there is no such property. 4479 func (this SVGFESpecularLightingElement) Width() (ret SVGAnimatedLength, ok bool) { 4480 ok = js.True == bindings.GetSVGFESpecularLightingElementWidth( 4481 this.ref, js.Pointer(&ret), 4482 ) 4483 return 4484 } 4485 4486 // Height returns the value of property "SVGFESpecularLightingElement.height". 4487 // 4488 // It returns ok=false if there is no such property. 4489 func (this SVGFESpecularLightingElement) Height() (ret SVGAnimatedLength, ok bool) { 4490 ok = js.True == bindings.GetSVGFESpecularLightingElementHeight( 4491 this.ref, js.Pointer(&ret), 4492 ) 4493 return 4494 } 4495 4496 // Result returns the value of property "SVGFESpecularLightingElement.result". 4497 // 4498 // It returns ok=false if there is no such property. 4499 func (this SVGFESpecularLightingElement) Result() (ret SVGAnimatedString, ok bool) { 4500 ok = js.True == bindings.GetSVGFESpecularLightingElementResult( 4501 this.ref, js.Pointer(&ret), 4502 ) 4503 return 4504 } 4505 4506 type SVGFESpotLightElement struct { 4507 SVGElement 4508 } 4509 4510 func (this SVGFESpotLightElement) Once() SVGFESpotLightElement { 4511 this.ref.Once() 4512 return this 4513 } 4514 4515 func (this SVGFESpotLightElement) Ref() js.Ref { 4516 return this.SVGElement.Ref() 4517 } 4518 4519 func (this SVGFESpotLightElement) FromRef(ref js.Ref) SVGFESpotLightElement { 4520 this.SVGElement = this.SVGElement.FromRef(ref) 4521 return this 4522 } 4523 4524 func (this SVGFESpotLightElement) Free() { 4525 this.ref.Free() 4526 } 4527 4528 // X returns the value of property "SVGFESpotLightElement.x". 4529 // 4530 // It returns ok=false if there is no such property. 4531 func (this SVGFESpotLightElement) X() (ret SVGAnimatedNumber, ok bool) { 4532 ok = js.True == bindings.GetSVGFESpotLightElementX( 4533 this.ref, js.Pointer(&ret), 4534 ) 4535 return 4536 } 4537 4538 // Y returns the value of property "SVGFESpotLightElement.y". 4539 // 4540 // It returns ok=false if there is no such property. 4541 func (this SVGFESpotLightElement) Y() (ret SVGAnimatedNumber, ok bool) { 4542 ok = js.True == bindings.GetSVGFESpotLightElementY( 4543 this.ref, js.Pointer(&ret), 4544 ) 4545 return 4546 } 4547 4548 // Z returns the value of property "SVGFESpotLightElement.z". 4549 // 4550 // It returns ok=false if there is no such property. 4551 func (this SVGFESpotLightElement) Z() (ret SVGAnimatedNumber, ok bool) { 4552 ok = js.True == bindings.GetSVGFESpotLightElementZ( 4553 this.ref, js.Pointer(&ret), 4554 ) 4555 return 4556 } 4557 4558 // PointsAtX returns the value of property "SVGFESpotLightElement.pointsAtX". 4559 // 4560 // It returns ok=false if there is no such property. 4561 func (this SVGFESpotLightElement) PointsAtX() (ret SVGAnimatedNumber, ok bool) { 4562 ok = js.True == bindings.GetSVGFESpotLightElementPointsAtX( 4563 this.ref, js.Pointer(&ret), 4564 ) 4565 return 4566 } 4567 4568 // PointsAtY returns the value of property "SVGFESpotLightElement.pointsAtY". 4569 // 4570 // It returns ok=false if there is no such property. 4571 func (this SVGFESpotLightElement) PointsAtY() (ret SVGAnimatedNumber, ok bool) { 4572 ok = js.True == bindings.GetSVGFESpotLightElementPointsAtY( 4573 this.ref, js.Pointer(&ret), 4574 ) 4575 return 4576 } 4577 4578 // PointsAtZ returns the value of property "SVGFESpotLightElement.pointsAtZ". 4579 // 4580 // It returns ok=false if there is no such property. 4581 func (this SVGFESpotLightElement) PointsAtZ() (ret SVGAnimatedNumber, ok bool) { 4582 ok = js.True == bindings.GetSVGFESpotLightElementPointsAtZ( 4583 this.ref, js.Pointer(&ret), 4584 ) 4585 return 4586 } 4587 4588 // SpecularExponent returns the value of property "SVGFESpotLightElement.specularExponent". 4589 // 4590 // It returns ok=false if there is no such property. 4591 func (this SVGFESpotLightElement) SpecularExponent() (ret SVGAnimatedNumber, ok bool) { 4592 ok = js.True == bindings.GetSVGFESpotLightElementSpecularExponent( 4593 this.ref, js.Pointer(&ret), 4594 ) 4595 return 4596 } 4597 4598 // LimitingConeAngle returns the value of property "SVGFESpotLightElement.limitingConeAngle". 4599 // 4600 // It returns ok=false if there is no such property. 4601 func (this SVGFESpotLightElement) LimitingConeAngle() (ret SVGAnimatedNumber, ok bool) { 4602 ok = js.True == bindings.GetSVGFESpotLightElementLimitingConeAngle( 4603 this.ref, js.Pointer(&ret), 4604 ) 4605 return 4606 }