github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/apis52_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 SVGFETileElement struct {
    12  	SVGElement
    13  }
    14  
    15  func (this SVGFETileElement) Once() SVGFETileElement {
    16  	this.ref.Once()
    17  	return this
    18  }
    19  
    20  func (this SVGFETileElement) Ref() js.Ref {
    21  	return this.SVGElement.Ref()
    22  }
    23  
    24  func (this SVGFETileElement) FromRef(ref js.Ref) SVGFETileElement {
    25  	this.SVGElement = this.SVGElement.FromRef(ref)
    26  	return this
    27  }
    28  
    29  func (this SVGFETileElement) Free() {
    30  	this.ref.Free()
    31  }
    32  
    33  // In1 returns the value of property "SVGFETileElement.in1".
    34  //
    35  // It returns ok=false if there is no such property.
    36  func (this SVGFETileElement) In1() (ret SVGAnimatedString, ok bool) {
    37  	ok = js.True == bindings.GetSVGFETileElementIn1(
    38  		this.ref, js.Pointer(&ret),
    39  	)
    40  	return
    41  }
    42  
    43  // X returns the value of property "SVGFETileElement.x".
    44  //
    45  // It returns ok=false if there is no such property.
    46  func (this SVGFETileElement) X() (ret SVGAnimatedLength, ok bool) {
    47  	ok = js.True == bindings.GetSVGFETileElementX(
    48  		this.ref, js.Pointer(&ret),
    49  	)
    50  	return
    51  }
    52  
    53  // Y returns the value of property "SVGFETileElement.y".
    54  //
    55  // It returns ok=false if there is no such property.
    56  func (this SVGFETileElement) Y() (ret SVGAnimatedLength, ok bool) {
    57  	ok = js.True == bindings.GetSVGFETileElementY(
    58  		this.ref, js.Pointer(&ret),
    59  	)
    60  	return
    61  }
    62  
    63  // Width returns the value of property "SVGFETileElement.width".
    64  //
    65  // It returns ok=false if there is no such property.
    66  func (this SVGFETileElement) Width() (ret SVGAnimatedLength, ok bool) {
    67  	ok = js.True == bindings.GetSVGFETileElementWidth(
    68  		this.ref, js.Pointer(&ret),
    69  	)
    70  	return
    71  }
    72  
    73  // Height returns the value of property "SVGFETileElement.height".
    74  //
    75  // It returns ok=false if there is no such property.
    76  func (this SVGFETileElement) Height() (ret SVGAnimatedLength, ok bool) {
    77  	ok = js.True == bindings.GetSVGFETileElementHeight(
    78  		this.ref, js.Pointer(&ret),
    79  	)
    80  	return
    81  }
    82  
    83  // Result returns the value of property "SVGFETileElement.result".
    84  //
    85  // It returns ok=false if there is no such property.
    86  func (this SVGFETileElement) Result() (ret SVGAnimatedString, ok bool) {
    87  	ok = js.True == bindings.GetSVGFETileElementResult(
    88  		this.ref, js.Pointer(&ret),
    89  	)
    90  	return
    91  }
    92  
    93  const (
    94  	SVGFETurbulenceElement_SVG_TURBULENCE_TYPE_UNKNOWN      uint16 = 0
    95  	SVGFETurbulenceElement_SVG_TURBULENCE_TYPE_FRACTALNOISE uint16 = 1
    96  	SVGFETurbulenceElement_SVG_TURBULENCE_TYPE_TURBULENCE   uint16 = 2
    97  	SVGFETurbulenceElement_SVG_STITCHTYPE_UNKNOWN           uint16 = 0
    98  	SVGFETurbulenceElement_SVG_STITCHTYPE_STITCH            uint16 = 1
    99  	SVGFETurbulenceElement_SVG_STITCHTYPE_NOSTITCH          uint16 = 2
   100  )
   101  
   102  type SVGFETurbulenceElement struct {
   103  	SVGElement
   104  }
   105  
   106  func (this SVGFETurbulenceElement) Once() SVGFETurbulenceElement {
   107  	this.ref.Once()
   108  	return this
   109  }
   110  
   111  func (this SVGFETurbulenceElement) Ref() js.Ref {
   112  	return this.SVGElement.Ref()
   113  }
   114  
   115  func (this SVGFETurbulenceElement) FromRef(ref js.Ref) SVGFETurbulenceElement {
   116  	this.SVGElement = this.SVGElement.FromRef(ref)
   117  	return this
   118  }
   119  
   120  func (this SVGFETurbulenceElement) Free() {
   121  	this.ref.Free()
   122  }
   123  
   124  // BaseFrequencyX returns the value of property "SVGFETurbulenceElement.baseFrequencyX".
   125  //
   126  // It returns ok=false if there is no such property.
   127  func (this SVGFETurbulenceElement) BaseFrequencyX() (ret SVGAnimatedNumber, ok bool) {
   128  	ok = js.True == bindings.GetSVGFETurbulenceElementBaseFrequencyX(
   129  		this.ref, js.Pointer(&ret),
   130  	)
   131  	return
   132  }
   133  
   134  // BaseFrequencyY returns the value of property "SVGFETurbulenceElement.baseFrequencyY".
   135  //
   136  // It returns ok=false if there is no such property.
   137  func (this SVGFETurbulenceElement) BaseFrequencyY() (ret SVGAnimatedNumber, ok bool) {
   138  	ok = js.True == bindings.GetSVGFETurbulenceElementBaseFrequencyY(
   139  		this.ref, js.Pointer(&ret),
   140  	)
   141  	return
   142  }
   143  
   144  // NumOctaves returns the value of property "SVGFETurbulenceElement.numOctaves".
   145  //
   146  // It returns ok=false if there is no such property.
   147  func (this SVGFETurbulenceElement) NumOctaves() (ret SVGAnimatedInteger, ok bool) {
   148  	ok = js.True == bindings.GetSVGFETurbulenceElementNumOctaves(
   149  		this.ref, js.Pointer(&ret),
   150  	)
   151  	return
   152  }
   153  
   154  // Seed returns the value of property "SVGFETurbulenceElement.seed".
   155  //
   156  // It returns ok=false if there is no such property.
   157  func (this SVGFETurbulenceElement) Seed() (ret SVGAnimatedNumber, ok bool) {
   158  	ok = js.True == bindings.GetSVGFETurbulenceElementSeed(
   159  		this.ref, js.Pointer(&ret),
   160  	)
   161  	return
   162  }
   163  
   164  // StitchTiles returns the value of property "SVGFETurbulenceElement.stitchTiles".
   165  //
   166  // It returns ok=false if there is no such property.
   167  func (this SVGFETurbulenceElement) StitchTiles() (ret SVGAnimatedEnumeration, ok bool) {
   168  	ok = js.True == bindings.GetSVGFETurbulenceElementStitchTiles(
   169  		this.ref, js.Pointer(&ret),
   170  	)
   171  	return
   172  }
   173  
   174  // Type returns the value of property "SVGFETurbulenceElement.type".
   175  //
   176  // It returns ok=false if there is no such property.
   177  func (this SVGFETurbulenceElement) Type() (ret SVGAnimatedEnumeration, ok bool) {
   178  	ok = js.True == bindings.GetSVGFETurbulenceElementType(
   179  		this.ref, js.Pointer(&ret),
   180  	)
   181  	return
   182  }
   183  
   184  // X returns the value of property "SVGFETurbulenceElement.x".
   185  //
   186  // It returns ok=false if there is no such property.
   187  func (this SVGFETurbulenceElement) X() (ret SVGAnimatedLength, ok bool) {
   188  	ok = js.True == bindings.GetSVGFETurbulenceElementX(
   189  		this.ref, js.Pointer(&ret),
   190  	)
   191  	return
   192  }
   193  
   194  // Y returns the value of property "SVGFETurbulenceElement.y".
   195  //
   196  // It returns ok=false if there is no such property.
   197  func (this SVGFETurbulenceElement) Y() (ret SVGAnimatedLength, ok bool) {
   198  	ok = js.True == bindings.GetSVGFETurbulenceElementY(
   199  		this.ref, js.Pointer(&ret),
   200  	)
   201  	return
   202  }
   203  
   204  // Width returns the value of property "SVGFETurbulenceElement.width".
   205  //
   206  // It returns ok=false if there is no such property.
   207  func (this SVGFETurbulenceElement) Width() (ret SVGAnimatedLength, ok bool) {
   208  	ok = js.True == bindings.GetSVGFETurbulenceElementWidth(
   209  		this.ref, js.Pointer(&ret),
   210  	)
   211  	return
   212  }
   213  
   214  // Height returns the value of property "SVGFETurbulenceElement.height".
   215  //
   216  // It returns ok=false if there is no such property.
   217  func (this SVGFETurbulenceElement) Height() (ret SVGAnimatedLength, ok bool) {
   218  	ok = js.True == bindings.GetSVGFETurbulenceElementHeight(
   219  		this.ref, js.Pointer(&ret),
   220  	)
   221  	return
   222  }
   223  
   224  // Result returns the value of property "SVGFETurbulenceElement.result".
   225  //
   226  // It returns ok=false if there is no such property.
   227  func (this SVGFETurbulenceElement) Result() (ret SVGAnimatedString, ok bool) {
   228  	ok = js.True == bindings.GetSVGFETurbulenceElementResult(
   229  		this.ref, js.Pointer(&ret),
   230  	)
   231  	return
   232  }
   233  
   234  type SVGFilterElement struct {
   235  	SVGElement
   236  }
   237  
   238  func (this SVGFilterElement) Once() SVGFilterElement {
   239  	this.ref.Once()
   240  	return this
   241  }
   242  
   243  func (this SVGFilterElement) Ref() js.Ref {
   244  	return this.SVGElement.Ref()
   245  }
   246  
   247  func (this SVGFilterElement) FromRef(ref js.Ref) SVGFilterElement {
   248  	this.SVGElement = this.SVGElement.FromRef(ref)
   249  	return this
   250  }
   251  
   252  func (this SVGFilterElement) Free() {
   253  	this.ref.Free()
   254  }
   255  
   256  // FilterUnits returns the value of property "SVGFilterElement.filterUnits".
   257  //
   258  // It returns ok=false if there is no such property.
   259  func (this SVGFilterElement) FilterUnits() (ret SVGAnimatedEnumeration, ok bool) {
   260  	ok = js.True == bindings.GetSVGFilterElementFilterUnits(
   261  		this.ref, js.Pointer(&ret),
   262  	)
   263  	return
   264  }
   265  
   266  // PrimitiveUnits returns the value of property "SVGFilterElement.primitiveUnits".
   267  //
   268  // It returns ok=false if there is no such property.
   269  func (this SVGFilterElement) PrimitiveUnits() (ret SVGAnimatedEnumeration, ok bool) {
   270  	ok = js.True == bindings.GetSVGFilterElementPrimitiveUnits(
   271  		this.ref, js.Pointer(&ret),
   272  	)
   273  	return
   274  }
   275  
   276  // X returns the value of property "SVGFilterElement.x".
   277  //
   278  // It returns ok=false if there is no such property.
   279  func (this SVGFilterElement) X() (ret SVGAnimatedLength, ok bool) {
   280  	ok = js.True == bindings.GetSVGFilterElementX(
   281  		this.ref, js.Pointer(&ret),
   282  	)
   283  	return
   284  }
   285  
   286  // Y returns the value of property "SVGFilterElement.y".
   287  //
   288  // It returns ok=false if there is no such property.
   289  func (this SVGFilterElement) Y() (ret SVGAnimatedLength, ok bool) {
   290  	ok = js.True == bindings.GetSVGFilterElementY(
   291  		this.ref, js.Pointer(&ret),
   292  	)
   293  	return
   294  }
   295  
   296  // Width returns the value of property "SVGFilterElement.width".
   297  //
   298  // It returns ok=false if there is no such property.
   299  func (this SVGFilterElement) Width() (ret SVGAnimatedLength, ok bool) {
   300  	ok = js.True == bindings.GetSVGFilterElementWidth(
   301  		this.ref, js.Pointer(&ret),
   302  	)
   303  	return
   304  }
   305  
   306  // Height returns the value of property "SVGFilterElement.height".
   307  //
   308  // It returns ok=false if there is no such property.
   309  func (this SVGFilterElement) Height() (ret SVGAnimatedLength, ok bool) {
   310  	ok = js.True == bindings.GetSVGFilterElementHeight(
   311  		this.ref, js.Pointer(&ret),
   312  	)
   313  	return
   314  }
   315  
   316  // Href returns the value of property "SVGFilterElement.href".
   317  //
   318  // It returns ok=false if there is no such property.
   319  func (this SVGFilterElement) Href() (ret SVGAnimatedString, ok bool) {
   320  	ok = js.True == bindings.GetSVGFilterElementHref(
   321  		this.ref, js.Pointer(&ret),
   322  	)
   323  	return
   324  }
   325  
   326  type SVGForeignObjectElement struct {
   327  	SVGGraphicsElement
   328  }
   329  
   330  func (this SVGForeignObjectElement) Once() SVGForeignObjectElement {
   331  	this.ref.Once()
   332  	return this
   333  }
   334  
   335  func (this SVGForeignObjectElement) Ref() js.Ref {
   336  	return this.SVGGraphicsElement.Ref()
   337  }
   338  
   339  func (this SVGForeignObjectElement) FromRef(ref js.Ref) SVGForeignObjectElement {
   340  	this.SVGGraphicsElement = this.SVGGraphicsElement.FromRef(ref)
   341  	return this
   342  }
   343  
   344  func (this SVGForeignObjectElement) Free() {
   345  	this.ref.Free()
   346  }
   347  
   348  // X returns the value of property "SVGForeignObjectElement.x".
   349  //
   350  // It returns ok=false if there is no such property.
   351  func (this SVGForeignObjectElement) X() (ret SVGAnimatedLength, ok bool) {
   352  	ok = js.True == bindings.GetSVGForeignObjectElementX(
   353  		this.ref, js.Pointer(&ret),
   354  	)
   355  	return
   356  }
   357  
   358  // Y returns the value of property "SVGForeignObjectElement.y".
   359  //
   360  // It returns ok=false if there is no such property.
   361  func (this SVGForeignObjectElement) Y() (ret SVGAnimatedLength, ok bool) {
   362  	ok = js.True == bindings.GetSVGForeignObjectElementY(
   363  		this.ref, js.Pointer(&ret),
   364  	)
   365  	return
   366  }
   367  
   368  // Width returns the value of property "SVGForeignObjectElement.width".
   369  //
   370  // It returns ok=false if there is no such property.
   371  func (this SVGForeignObjectElement) Width() (ret SVGAnimatedLength, ok bool) {
   372  	ok = js.True == bindings.GetSVGForeignObjectElementWidth(
   373  		this.ref, js.Pointer(&ret),
   374  	)
   375  	return
   376  }
   377  
   378  // Height returns the value of property "SVGForeignObjectElement.height".
   379  //
   380  // It returns ok=false if there is no such property.
   381  func (this SVGForeignObjectElement) Height() (ret SVGAnimatedLength, ok bool) {
   382  	ok = js.True == bindings.GetSVGForeignObjectElementHeight(
   383  		this.ref, js.Pointer(&ret),
   384  	)
   385  	return
   386  }
   387  
   388  type SVGGElement struct {
   389  	SVGGraphicsElement
   390  }
   391  
   392  func (this SVGGElement) Once() SVGGElement {
   393  	this.ref.Once()
   394  	return this
   395  }
   396  
   397  func (this SVGGElement) Ref() js.Ref {
   398  	return this.SVGGraphicsElement.Ref()
   399  }
   400  
   401  func (this SVGGElement) FromRef(ref js.Ref) SVGGElement {
   402  	this.SVGGraphicsElement = this.SVGGraphicsElement.FromRef(ref)
   403  	return this
   404  }
   405  
   406  func (this SVGGElement) Free() {
   407  	this.ref.Free()
   408  }
   409  
   410  type SVGGeometryElement struct {
   411  	SVGGraphicsElement
   412  }
   413  
   414  func (this SVGGeometryElement) Once() SVGGeometryElement {
   415  	this.ref.Once()
   416  	return this
   417  }
   418  
   419  func (this SVGGeometryElement) Ref() js.Ref {
   420  	return this.SVGGraphicsElement.Ref()
   421  }
   422  
   423  func (this SVGGeometryElement) FromRef(ref js.Ref) SVGGeometryElement {
   424  	this.SVGGraphicsElement = this.SVGGraphicsElement.FromRef(ref)
   425  	return this
   426  }
   427  
   428  func (this SVGGeometryElement) Free() {
   429  	this.ref.Free()
   430  }
   431  
   432  // PathLength returns the value of property "SVGGeometryElement.pathLength".
   433  //
   434  // It returns ok=false if there is no such property.
   435  func (this SVGGeometryElement) PathLength() (ret SVGAnimatedNumber, ok bool) {
   436  	ok = js.True == bindings.GetSVGGeometryElementPathLength(
   437  		this.ref, js.Pointer(&ret),
   438  	)
   439  	return
   440  }
   441  
   442  // HasFuncIsPointInFill returns true if the method "SVGGeometryElement.isPointInFill" exists.
   443  func (this SVGGeometryElement) HasFuncIsPointInFill() bool {
   444  	return js.True == bindings.HasFuncSVGGeometryElementIsPointInFill(
   445  		this.ref,
   446  	)
   447  }
   448  
   449  // FuncIsPointInFill returns the method "SVGGeometryElement.isPointInFill".
   450  func (this SVGGeometryElement) FuncIsPointInFill() (fn js.Func[func(point DOMPointInit) bool]) {
   451  	bindings.FuncSVGGeometryElementIsPointInFill(
   452  		this.ref, js.Pointer(&fn),
   453  	)
   454  	return
   455  }
   456  
   457  // IsPointInFill calls the method "SVGGeometryElement.isPointInFill".
   458  func (this SVGGeometryElement) IsPointInFill(point DOMPointInit) (ret bool) {
   459  	bindings.CallSVGGeometryElementIsPointInFill(
   460  		this.ref, js.Pointer(&ret),
   461  		js.Pointer(&point),
   462  	)
   463  
   464  	return
   465  }
   466  
   467  // TryIsPointInFill calls the method "SVGGeometryElement.isPointInFill"
   468  // in a try/catch block and returns (_, err, ok = false) when it went through
   469  // the catch clause.
   470  func (this SVGGeometryElement) TryIsPointInFill(point DOMPointInit) (ret bool, exception js.Any, ok bool) {
   471  	ok = js.True == bindings.TrySVGGeometryElementIsPointInFill(
   472  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   473  		js.Pointer(&point),
   474  	)
   475  
   476  	return
   477  }
   478  
   479  // HasFuncIsPointInFill1 returns true if the method "SVGGeometryElement.isPointInFill" exists.
   480  func (this SVGGeometryElement) HasFuncIsPointInFill1() bool {
   481  	return js.True == bindings.HasFuncSVGGeometryElementIsPointInFill1(
   482  		this.ref,
   483  	)
   484  }
   485  
   486  // FuncIsPointInFill1 returns the method "SVGGeometryElement.isPointInFill".
   487  func (this SVGGeometryElement) FuncIsPointInFill1() (fn js.Func[func() bool]) {
   488  	bindings.FuncSVGGeometryElementIsPointInFill1(
   489  		this.ref, js.Pointer(&fn),
   490  	)
   491  	return
   492  }
   493  
   494  // IsPointInFill1 calls the method "SVGGeometryElement.isPointInFill".
   495  func (this SVGGeometryElement) IsPointInFill1() (ret bool) {
   496  	bindings.CallSVGGeometryElementIsPointInFill1(
   497  		this.ref, js.Pointer(&ret),
   498  	)
   499  
   500  	return
   501  }
   502  
   503  // TryIsPointInFill1 calls the method "SVGGeometryElement.isPointInFill"
   504  // in a try/catch block and returns (_, err, ok = false) when it went through
   505  // the catch clause.
   506  func (this SVGGeometryElement) TryIsPointInFill1() (ret bool, exception js.Any, ok bool) {
   507  	ok = js.True == bindings.TrySVGGeometryElementIsPointInFill1(
   508  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   509  	)
   510  
   511  	return
   512  }
   513  
   514  // HasFuncIsPointInStroke returns true if the method "SVGGeometryElement.isPointInStroke" exists.
   515  func (this SVGGeometryElement) HasFuncIsPointInStroke() bool {
   516  	return js.True == bindings.HasFuncSVGGeometryElementIsPointInStroke(
   517  		this.ref,
   518  	)
   519  }
   520  
   521  // FuncIsPointInStroke returns the method "SVGGeometryElement.isPointInStroke".
   522  func (this SVGGeometryElement) FuncIsPointInStroke() (fn js.Func[func(point DOMPointInit) bool]) {
   523  	bindings.FuncSVGGeometryElementIsPointInStroke(
   524  		this.ref, js.Pointer(&fn),
   525  	)
   526  	return
   527  }
   528  
   529  // IsPointInStroke calls the method "SVGGeometryElement.isPointInStroke".
   530  func (this SVGGeometryElement) IsPointInStroke(point DOMPointInit) (ret bool) {
   531  	bindings.CallSVGGeometryElementIsPointInStroke(
   532  		this.ref, js.Pointer(&ret),
   533  		js.Pointer(&point),
   534  	)
   535  
   536  	return
   537  }
   538  
   539  // TryIsPointInStroke calls the method "SVGGeometryElement.isPointInStroke"
   540  // in a try/catch block and returns (_, err, ok = false) when it went through
   541  // the catch clause.
   542  func (this SVGGeometryElement) TryIsPointInStroke(point DOMPointInit) (ret bool, exception js.Any, ok bool) {
   543  	ok = js.True == bindings.TrySVGGeometryElementIsPointInStroke(
   544  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   545  		js.Pointer(&point),
   546  	)
   547  
   548  	return
   549  }
   550  
   551  // HasFuncIsPointInStroke1 returns true if the method "SVGGeometryElement.isPointInStroke" exists.
   552  func (this SVGGeometryElement) HasFuncIsPointInStroke1() bool {
   553  	return js.True == bindings.HasFuncSVGGeometryElementIsPointInStroke1(
   554  		this.ref,
   555  	)
   556  }
   557  
   558  // FuncIsPointInStroke1 returns the method "SVGGeometryElement.isPointInStroke".
   559  func (this SVGGeometryElement) FuncIsPointInStroke1() (fn js.Func[func() bool]) {
   560  	bindings.FuncSVGGeometryElementIsPointInStroke1(
   561  		this.ref, js.Pointer(&fn),
   562  	)
   563  	return
   564  }
   565  
   566  // IsPointInStroke1 calls the method "SVGGeometryElement.isPointInStroke".
   567  func (this SVGGeometryElement) IsPointInStroke1() (ret bool) {
   568  	bindings.CallSVGGeometryElementIsPointInStroke1(
   569  		this.ref, js.Pointer(&ret),
   570  	)
   571  
   572  	return
   573  }
   574  
   575  // TryIsPointInStroke1 calls the method "SVGGeometryElement.isPointInStroke"
   576  // in a try/catch block and returns (_, err, ok = false) when it went through
   577  // the catch clause.
   578  func (this SVGGeometryElement) TryIsPointInStroke1() (ret bool, exception js.Any, ok bool) {
   579  	ok = js.True == bindings.TrySVGGeometryElementIsPointInStroke1(
   580  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   581  	)
   582  
   583  	return
   584  }
   585  
   586  // HasFuncGetTotalLength returns true if the method "SVGGeometryElement.getTotalLength" exists.
   587  func (this SVGGeometryElement) HasFuncGetTotalLength() bool {
   588  	return js.True == bindings.HasFuncSVGGeometryElementGetTotalLength(
   589  		this.ref,
   590  	)
   591  }
   592  
   593  // FuncGetTotalLength returns the method "SVGGeometryElement.getTotalLength".
   594  func (this SVGGeometryElement) FuncGetTotalLength() (fn js.Func[func() float32]) {
   595  	bindings.FuncSVGGeometryElementGetTotalLength(
   596  		this.ref, js.Pointer(&fn),
   597  	)
   598  	return
   599  }
   600  
   601  // GetTotalLength calls the method "SVGGeometryElement.getTotalLength".
   602  func (this SVGGeometryElement) GetTotalLength() (ret float32) {
   603  	bindings.CallSVGGeometryElementGetTotalLength(
   604  		this.ref, js.Pointer(&ret),
   605  	)
   606  
   607  	return
   608  }
   609  
   610  // TryGetTotalLength calls the method "SVGGeometryElement.getTotalLength"
   611  // in a try/catch block and returns (_, err, ok = false) when it went through
   612  // the catch clause.
   613  func (this SVGGeometryElement) TryGetTotalLength() (ret float32, exception js.Any, ok bool) {
   614  	ok = js.True == bindings.TrySVGGeometryElementGetTotalLength(
   615  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   616  	)
   617  
   618  	return
   619  }
   620  
   621  // HasFuncGetPointAtLength returns true if the method "SVGGeometryElement.getPointAtLength" exists.
   622  func (this SVGGeometryElement) HasFuncGetPointAtLength() bool {
   623  	return js.True == bindings.HasFuncSVGGeometryElementGetPointAtLength(
   624  		this.ref,
   625  	)
   626  }
   627  
   628  // FuncGetPointAtLength returns the method "SVGGeometryElement.getPointAtLength".
   629  func (this SVGGeometryElement) FuncGetPointAtLength() (fn js.Func[func(distance float32) DOMPoint]) {
   630  	bindings.FuncSVGGeometryElementGetPointAtLength(
   631  		this.ref, js.Pointer(&fn),
   632  	)
   633  	return
   634  }
   635  
   636  // GetPointAtLength calls the method "SVGGeometryElement.getPointAtLength".
   637  func (this SVGGeometryElement) GetPointAtLength(distance float32) (ret DOMPoint) {
   638  	bindings.CallSVGGeometryElementGetPointAtLength(
   639  		this.ref, js.Pointer(&ret),
   640  		float32(distance),
   641  	)
   642  
   643  	return
   644  }
   645  
   646  // TryGetPointAtLength calls the method "SVGGeometryElement.getPointAtLength"
   647  // in a try/catch block and returns (_, err, ok = false) when it went through
   648  // the catch clause.
   649  func (this SVGGeometryElement) TryGetPointAtLength(distance float32) (ret DOMPoint, exception js.Any, ok bool) {
   650  	ok = js.True == bindings.TrySVGGeometryElementGetPointAtLength(
   651  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   652  		float32(distance),
   653  	)
   654  
   655  	return
   656  }
   657  
   658  const (
   659  	SVGGradientElement_SVG_SPREADMETHOD_UNKNOWN uint16 = 0
   660  	SVGGradientElement_SVG_SPREADMETHOD_PAD     uint16 = 1
   661  	SVGGradientElement_SVG_SPREADMETHOD_REFLECT uint16 = 2
   662  	SVGGradientElement_SVG_SPREADMETHOD_REPEAT  uint16 = 3
   663  )
   664  
   665  type SVGGradientElement struct {
   666  	SVGElement
   667  }
   668  
   669  func (this SVGGradientElement) Once() SVGGradientElement {
   670  	this.ref.Once()
   671  	return this
   672  }
   673  
   674  func (this SVGGradientElement) Ref() js.Ref {
   675  	return this.SVGElement.Ref()
   676  }
   677  
   678  func (this SVGGradientElement) FromRef(ref js.Ref) SVGGradientElement {
   679  	this.SVGElement = this.SVGElement.FromRef(ref)
   680  	return this
   681  }
   682  
   683  func (this SVGGradientElement) Free() {
   684  	this.ref.Free()
   685  }
   686  
   687  // GradientUnits returns the value of property "SVGGradientElement.gradientUnits".
   688  //
   689  // It returns ok=false if there is no such property.
   690  func (this SVGGradientElement) GradientUnits() (ret SVGAnimatedEnumeration, ok bool) {
   691  	ok = js.True == bindings.GetSVGGradientElementGradientUnits(
   692  		this.ref, js.Pointer(&ret),
   693  	)
   694  	return
   695  }
   696  
   697  // GradientTransform returns the value of property "SVGGradientElement.gradientTransform".
   698  //
   699  // It returns ok=false if there is no such property.
   700  func (this SVGGradientElement) GradientTransform() (ret SVGAnimatedTransformList, ok bool) {
   701  	ok = js.True == bindings.GetSVGGradientElementGradientTransform(
   702  		this.ref, js.Pointer(&ret),
   703  	)
   704  	return
   705  }
   706  
   707  // SpreadMethod returns the value of property "SVGGradientElement.spreadMethod".
   708  //
   709  // It returns ok=false if there is no such property.
   710  func (this SVGGradientElement) SpreadMethod() (ret SVGAnimatedEnumeration, ok bool) {
   711  	ok = js.True == bindings.GetSVGGradientElementSpreadMethod(
   712  		this.ref, js.Pointer(&ret),
   713  	)
   714  	return
   715  }
   716  
   717  // Href returns the value of property "SVGGradientElement.href".
   718  //
   719  // It returns ok=false if there is no such property.
   720  func (this SVGGradientElement) Href() (ret SVGAnimatedString, ok bool) {
   721  	ok = js.True == bindings.GetSVGGradientElementHref(
   722  		this.ref, js.Pointer(&ret),
   723  	)
   724  	return
   725  }
   726  
   727  type SVGGraphicsElement struct {
   728  	SVGElement
   729  }
   730  
   731  func (this SVGGraphicsElement) Once() SVGGraphicsElement {
   732  	this.ref.Once()
   733  	return this
   734  }
   735  
   736  func (this SVGGraphicsElement) Ref() js.Ref {
   737  	return this.SVGElement.Ref()
   738  }
   739  
   740  func (this SVGGraphicsElement) FromRef(ref js.Ref) SVGGraphicsElement {
   741  	this.SVGElement = this.SVGElement.FromRef(ref)
   742  	return this
   743  }
   744  
   745  func (this SVGGraphicsElement) Free() {
   746  	this.ref.Free()
   747  }
   748  
   749  // Transform returns the value of property "SVGGraphicsElement.transform".
   750  //
   751  // It returns ok=false if there is no such property.
   752  func (this SVGGraphicsElement) Transform() (ret SVGAnimatedTransformList, ok bool) {
   753  	ok = js.True == bindings.GetSVGGraphicsElementTransform(
   754  		this.ref, js.Pointer(&ret),
   755  	)
   756  	return
   757  }
   758  
   759  // RequiredExtensions returns the value of property "SVGGraphicsElement.requiredExtensions".
   760  //
   761  // It returns ok=false if there is no such property.
   762  func (this SVGGraphicsElement) RequiredExtensions() (ret SVGStringList, ok bool) {
   763  	ok = js.True == bindings.GetSVGGraphicsElementRequiredExtensions(
   764  		this.ref, js.Pointer(&ret),
   765  	)
   766  	return
   767  }
   768  
   769  // SystemLanguage returns the value of property "SVGGraphicsElement.systemLanguage".
   770  //
   771  // It returns ok=false if there is no such property.
   772  func (this SVGGraphicsElement) SystemLanguage() (ret SVGStringList, ok bool) {
   773  	ok = js.True == bindings.GetSVGGraphicsElementSystemLanguage(
   774  		this.ref, js.Pointer(&ret),
   775  	)
   776  	return
   777  }
   778  
   779  // HasFuncGetBBox returns true if the method "SVGGraphicsElement.getBBox" exists.
   780  func (this SVGGraphicsElement) HasFuncGetBBox() bool {
   781  	return js.True == bindings.HasFuncSVGGraphicsElementGetBBox(
   782  		this.ref,
   783  	)
   784  }
   785  
   786  // FuncGetBBox returns the method "SVGGraphicsElement.getBBox".
   787  func (this SVGGraphicsElement) FuncGetBBox() (fn js.Func[func(options SVGBoundingBoxOptions) DOMRect]) {
   788  	bindings.FuncSVGGraphicsElementGetBBox(
   789  		this.ref, js.Pointer(&fn),
   790  	)
   791  	return
   792  }
   793  
   794  // GetBBox calls the method "SVGGraphicsElement.getBBox".
   795  func (this SVGGraphicsElement) GetBBox(options SVGBoundingBoxOptions) (ret DOMRect) {
   796  	bindings.CallSVGGraphicsElementGetBBox(
   797  		this.ref, js.Pointer(&ret),
   798  		js.Pointer(&options),
   799  	)
   800  
   801  	return
   802  }
   803  
   804  // TryGetBBox calls the method "SVGGraphicsElement.getBBox"
   805  // in a try/catch block and returns (_, err, ok = false) when it went through
   806  // the catch clause.
   807  func (this SVGGraphicsElement) TryGetBBox(options SVGBoundingBoxOptions) (ret DOMRect, exception js.Any, ok bool) {
   808  	ok = js.True == bindings.TrySVGGraphicsElementGetBBox(
   809  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   810  		js.Pointer(&options),
   811  	)
   812  
   813  	return
   814  }
   815  
   816  // HasFuncGetBBox1 returns true if the method "SVGGraphicsElement.getBBox" exists.
   817  func (this SVGGraphicsElement) HasFuncGetBBox1() bool {
   818  	return js.True == bindings.HasFuncSVGGraphicsElementGetBBox1(
   819  		this.ref,
   820  	)
   821  }
   822  
   823  // FuncGetBBox1 returns the method "SVGGraphicsElement.getBBox".
   824  func (this SVGGraphicsElement) FuncGetBBox1() (fn js.Func[func() DOMRect]) {
   825  	bindings.FuncSVGGraphicsElementGetBBox1(
   826  		this.ref, js.Pointer(&fn),
   827  	)
   828  	return
   829  }
   830  
   831  // GetBBox1 calls the method "SVGGraphicsElement.getBBox".
   832  func (this SVGGraphicsElement) GetBBox1() (ret DOMRect) {
   833  	bindings.CallSVGGraphicsElementGetBBox1(
   834  		this.ref, js.Pointer(&ret),
   835  	)
   836  
   837  	return
   838  }
   839  
   840  // TryGetBBox1 calls the method "SVGGraphicsElement.getBBox"
   841  // in a try/catch block and returns (_, err, ok = false) when it went through
   842  // the catch clause.
   843  func (this SVGGraphicsElement) TryGetBBox1() (ret DOMRect, exception js.Any, ok bool) {
   844  	ok = js.True == bindings.TrySVGGraphicsElementGetBBox1(
   845  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   846  	)
   847  
   848  	return
   849  }
   850  
   851  // HasFuncGetCTM returns true if the method "SVGGraphicsElement.getCTM" exists.
   852  func (this SVGGraphicsElement) HasFuncGetCTM() bool {
   853  	return js.True == bindings.HasFuncSVGGraphicsElementGetCTM(
   854  		this.ref,
   855  	)
   856  }
   857  
   858  // FuncGetCTM returns the method "SVGGraphicsElement.getCTM".
   859  func (this SVGGraphicsElement) FuncGetCTM() (fn js.Func[func() DOMMatrix]) {
   860  	bindings.FuncSVGGraphicsElementGetCTM(
   861  		this.ref, js.Pointer(&fn),
   862  	)
   863  	return
   864  }
   865  
   866  // GetCTM calls the method "SVGGraphicsElement.getCTM".
   867  func (this SVGGraphicsElement) GetCTM() (ret DOMMatrix) {
   868  	bindings.CallSVGGraphicsElementGetCTM(
   869  		this.ref, js.Pointer(&ret),
   870  	)
   871  
   872  	return
   873  }
   874  
   875  // TryGetCTM calls the method "SVGGraphicsElement.getCTM"
   876  // in a try/catch block and returns (_, err, ok = false) when it went through
   877  // the catch clause.
   878  func (this SVGGraphicsElement) TryGetCTM() (ret DOMMatrix, exception js.Any, ok bool) {
   879  	ok = js.True == bindings.TrySVGGraphicsElementGetCTM(
   880  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   881  	)
   882  
   883  	return
   884  }
   885  
   886  // HasFuncGetScreenCTM returns true if the method "SVGGraphicsElement.getScreenCTM" exists.
   887  func (this SVGGraphicsElement) HasFuncGetScreenCTM() bool {
   888  	return js.True == bindings.HasFuncSVGGraphicsElementGetScreenCTM(
   889  		this.ref,
   890  	)
   891  }
   892  
   893  // FuncGetScreenCTM returns the method "SVGGraphicsElement.getScreenCTM".
   894  func (this SVGGraphicsElement) FuncGetScreenCTM() (fn js.Func[func() DOMMatrix]) {
   895  	bindings.FuncSVGGraphicsElementGetScreenCTM(
   896  		this.ref, js.Pointer(&fn),
   897  	)
   898  	return
   899  }
   900  
   901  // GetScreenCTM calls the method "SVGGraphicsElement.getScreenCTM".
   902  func (this SVGGraphicsElement) GetScreenCTM() (ret DOMMatrix) {
   903  	bindings.CallSVGGraphicsElementGetScreenCTM(
   904  		this.ref, js.Pointer(&ret),
   905  	)
   906  
   907  	return
   908  }
   909  
   910  // TryGetScreenCTM calls the method "SVGGraphicsElement.getScreenCTM"
   911  // in a try/catch block and returns (_, err, ok = false) when it went through
   912  // the catch clause.
   913  func (this SVGGraphicsElement) TryGetScreenCTM() (ret DOMMatrix, exception js.Any, ok bool) {
   914  	ok = js.True == bindings.TrySVGGraphicsElementGetScreenCTM(
   915  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   916  	)
   917  
   918  	return
   919  }
   920  
   921  type SVGLineElement struct {
   922  	SVGGeometryElement
   923  }
   924  
   925  func (this SVGLineElement) Once() SVGLineElement {
   926  	this.ref.Once()
   927  	return this
   928  }
   929  
   930  func (this SVGLineElement) Ref() js.Ref {
   931  	return this.SVGGeometryElement.Ref()
   932  }
   933  
   934  func (this SVGLineElement) FromRef(ref js.Ref) SVGLineElement {
   935  	this.SVGGeometryElement = this.SVGGeometryElement.FromRef(ref)
   936  	return this
   937  }
   938  
   939  func (this SVGLineElement) Free() {
   940  	this.ref.Free()
   941  }
   942  
   943  // X1 returns the value of property "SVGLineElement.x1".
   944  //
   945  // It returns ok=false if there is no such property.
   946  func (this SVGLineElement) X1() (ret SVGAnimatedLength, ok bool) {
   947  	ok = js.True == bindings.GetSVGLineElementX1(
   948  		this.ref, js.Pointer(&ret),
   949  	)
   950  	return
   951  }
   952  
   953  // Y1 returns the value of property "SVGLineElement.y1".
   954  //
   955  // It returns ok=false if there is no such property.
   956  func (this SVGLineElement) Y1() (ret SVGAnimatedLength, ok bool) {
   957  	ok = js.True == bindings.GetSVGLineElementY1(
   958  		this.ref, js.Pointer(&ret),
   959  	)
   960  	return
   961  }
   962  
   963  // X2 returns the value of property "SVGLineElement.x2".
   964  //
   965  // It returns ok=false if there is no such property.
   966  func (this SVGLineElement) X2() (ret SVGAnimatedLength, ok bool) {
   967  	ok = js.True == bindings.GetSVGLineElementX2(
   968  		this.ref, js.Pointer(&ret),
   969  	)
   970  	return
   971  }
   972  
   973  // Y2 returns the value of property "SVGLineElement.y2".
   974  //
   975  // It returns ok=false if there is no such property.
   976  func (this SVGLineElement) Y2() (ret SVGAnimatedLength, ok bool) {
   977  	ok = js.True == bindings.GetSVGLineElementY2(
   978  		this.ref, js.Pointer(&ret),
   979  	)
   980  	return
   981  }
   982  
   983  type SVGLinearGradientElement struct {
   984  	SVGGradientElement
   985  }
   986  
   987  func (this SVGLinearGradientElement) Once() SVGLinearGradientElement {
   988  	this.ref.Once()
   989  	return this
   990  }
   991  
   992  func (this SVGLinearGradientElement) Ref() js.Ref {
   993  	return this.SVGGradientElement.Ref()
   994  }
   995  
   996  func (this SVGLinearGradientElement) FromRef(ref js.Ref) SVGLinearGradientElement {
   997  	this.SVGGradientElement = this.SVGGradientElement.FromRef(ref)
   998  	return this
   999  }
  1000  
  1001  func (this SVGLinearGradientElement) Free() {
  1002  	this.ref.Free()
  1003  }
  1004  
  1005  // X1 returns the value of property "SVGLinearGradientElement.x1".
  1006  //
  1007  // It returns ok=false if there is no such property.
  1008  func (this SVGLinearGradientElement) X1() (ret SVGAnimatedLength, ok bool) {
  1009  	ok = js.True == bindings.GetSVGLinearGradientElementX1(
  1010  		this.ref, js.Pointer(&ret),
  1011  	)
  1012  	return
  1013  }
  1014  
  1015  // Y1 returns the value of property "SVGLinearGradientElement.y1".
  1016  //
  1017  // It returns ok=false if there is no such property.
  1018  func (this SVGLinearGradientElement) Y1() (ret SVGAnimatedLength, ok bool) {
  1019  	ok = js.True == bindings.GetSVGLinearGradientElementY1(
  1020  		this.ref, js.Pointer(&ret),
  1021  	)
  1022  	return
  1023  }
  1024  
  1025  // X2 returns the value of property "SVGLinearGradientElement.x2".
  1026  //
  1027  // It returns ok=false if there is no such property.
  1028  func (this SVGLinearGradientElement) X2() (ret SVGAnimatedLength, ok bool) {
  1029  	ok = js.True == bindings.GetSVGLinearGradientElementX2(
  1030  		this.ref, js.Pointer(&ret),
  1031  	)
  1032  	return
  1033  }
  1034  
  1035  // Y2 returns the value of property "SVGLinearGradientElement.y2".
  1036  //
  1037  // It returns ok=false if there is no such property.
  1038  func (this SVGLinearGradientElement) Y2() (ret SVGAnimatedLength, ok bool) {
  1039  	ok = js.True == bindings.GetSVGLinearGradientElementY2(
  1040  		this.ref, js.Pointer(&ret),
  1041  	)
  1042  	return
  1043  }
  1044  
  1045  type SVGMPathElement struct {
  1046  	SVGElement
  1047  }
  1048  
  1049  func (this SVGMPathElement) Once() SVGMPathElement {
  1050  	this.ref.Once()
  1051  	return this
  1052  }
  1053  
  1054  func (this SVGMPathElement) Ref() js.Ref {
  1055  	return this.SVGElement.Ref()
  1056  }
  1057  
  1058  func (this SVGMPathElement) FromRef(ref js.Ref) SVGMPathElement {
  1059  	this.SVGElement = this.SVGElement.FromRef(ref)
  1060  	return this
  1061  }
  1062  
  1063  func (this SVGMPathElement) Free() {
  1064  	this.ref.Free()
  1065  }
  1066  
  1067  // Href returns the value of property "SVGMPathElement.href".
  1068  //
  1069  // It returns ok=false if there is no such property.
  1070  func (this SVGMPathElement) Href() (ret SVGAnimatedString, ok bool) {
  1071  	ok = js.True == bindings.GetSVGMPathElementHref(
  1072  		this.ref, js.Pointer(&ret),
  1073  	)
  1074  	return
  1075  }
  1076  
  1077  const (
  1078  	SVGMarkerElement_SVG_MARKERUNITS_UNKNOWN        uint16 = 0
  1079  	SVGMarkerElement_SVG_MARKERUNITS_USERSPACEONUSE uint16 = 1
  1080  	SVGMarkerElement_SVG_MARKERUNITS_STROKEWIDTH    uint16 = 2
  1081  	SVGMarkerElement_SVG_MARKER_ORIENT_UNKNOWN      uint16 = 0
  1082  	SVGMarkerElement_SVG_MARKER_ORIENT_AUTO         uint16 = 1
  1083  	SVGMarkerElement_SVG_MARKER_ORIENT_ANGLE        uint16 = 2
  1084  )
  1085  
  1086  type SVGMarkerElement struct {
  1087  	SVGElement
  1088  }
  1089  
  1090  func (this SVGMarkerElement) Once() SVGMarkerElement {
  1091  	this.ref.Once()
  1092  	return this
  1093  }
  1094  
  1095  func (this SVGMarkerElement) Ref() js.Ref {
  1096  	return this.SVGElement.Ref()
  1097  }
  1098  
  1099  func (this SVGMarkerElement) FromRef(ref js.Ref) SVGMarkerElement {
  1100  	this.SVGElement = this.SVGElement.FromRef(ref)
  1101  	return this
  1102  }
  1103  
  1104  func (this SVGMarkerElement) Free() {
  1105  	this.ref.Free()
  1106  }
  1107  
  1108  // RefX returns the value of property "SVGMarkerElement.refX".
  1109  //
  1110  // It returns ok=false if there is no such property.
  1111  func (this SVGMarkerElement) RefX() (ret SVGAnimatedLength, ok bool) {
  1112  	ok = js.True == bindings.GetSVGMarkerElementRefX(
  1113  		this.ref, js.Pointer(&ret),
  1114  	)
  1115  	return
  1116  }
  1117  
  1118  // RefY returns the value of property "SVGMarkerElement.refY".
  1119  //
  1120  // It returns ok=false if there is no such property.
  1121  func (this SVGMarkerElement) RefY() (ret SVGAnimatedLength, ok bool) {
  1122  	ok = js.True == bindings.GetSVGMarkerElementRefY(
  1123  		this.ref, js.Pointer(&ret),
  1124  	)
  1125  	return
  1126  }
  1127  
  1128  // MarkerUnits returns the value of property "SVGMarkerElement.markerUnits".
  1129  //
  1130  // It returns ok=false if there is no such property.
  1131  func (this SVGMarkerElement) MarkerUnits() (ret SVGAnimatedEnumeration, ok bool) {
  1132  	ok = js.True == bindings.GetSVGMarkerElementMarkerUnits(
  1133  		this.ref, js.Pointer(&ret),
  1134  	)
  1135  	return
  1136  }
  1137  
  1138  // MarkerWidth returns the value of property "SVGMarkerElement.markerWidth".
  1139  //
  1140  // It returns ok=false if there is no such property.
  1141  func (this SVGMarkerElement) MarkerWidth() (ret SVGAnimatedLength, ok bool) {
  1142  	ok = js.True == bindings.GetSVGMarkerElementMarkerWidth(
  1143  		this.ref, js.Pointer(&ret),
  1144  	)
  1145  	return
  1146  }
  1147  
  1148  // MarkerHeight returns the value of property "SVGMarkerElement.markerHeight".
  1149  //
  1150  // It returns ok=false if there is no such property.
  1151  func (this SVGMarkerElement) MarkerHeight() (ret SVGAnimatedLength, ok bool) {
  1152  	ok = js.True == bindings.GetSVGMarkerElementMarkerHeight(
  1153  		this.ref, js.Pointer(&ret),
  1154  	)
  1155  	return
  1156  }
  1157  
  1158  // OrientType returns the value of property "SVGMarkerElement.orientType".
  1159  //
  1160  // It returns ok=false if there is no such property.
  1161  func (this SVGMarkerElement) OrientType() (ret SVGAnimatedEnumeration, ok bool) {
  1162  	ok = js.True == bindings.GetSVGMarkerElementOrientType(
  1163  		this.ref, js.Pointer(&ret),
  1164  	)
  1165  	return
  1166  }
  1167  
  1168  // OrientAngle returns the value of property "SVGMarkerElement.orientAngle".
  1169  //
  1170  // It returns ok=false if there is no such property.
  1171  func (this SVGMarkerElement) OrientAngle() (ret SVGAnimatedAngle, ok bool) {
  1172  	ok = js.True == bindings.GetSVGMarkerElementOrientAngle(
  1173  		this.ref, js.Pointer(&ret),
  1174  	)
  1175  	return
  1176  }
  1177  
  1178  // Orient returns the value of property "SVGMarkerElement.orient".
  1179  //
  1180  // It returns ok=false if there is no such property.
  1181  func (this SVGMarkerElement) Orient() (ret js.String, ok bool) {
  1182  	ok = js.True == bindings.GetSVGMarkerElementOrient(
  1183  		this.ref, js.Pointer(&ret),
  1184  	)
  1185  	return
  1186  }
  1187  
  1188  // SetOrient sets the value of property "SVGMarkerElement.orient" to val.
  1189  //
  1190  // It returns false if the property cannot be set.
  1191  func (this SVGMarkerElement) SetOrient(val js.String) bool {
  1192  	return js.True == bindings.SetSVGMarkerElementOrient(
  1193  		this.ref,
  1194  		val.Ref(),
  1195  	)
  1196  }
  1197  
  1198  // ViewBox returns the value of property "SVGMarkerElement.viewBox".
  1199  //
  1200  // It returns ok=false if there is no such property.
  1201  func (this SVGMarkerElement) ViewBox() (ret SVGAnimatedRect, ok bool) {
  1202  	ok = js.True == bindings.GetSVGMarkerElementViewBox(
  1203  		this.ref, js.Pointer(&ret),
  1204  	)
  1205  	return
  1206  }
  1207  
  1208  // PreserveAspectRatio returns the value of property "SVGMarkerElement.preserveAspectRatio".
  1209  //
  1210  // It returns ok=false if there is no such property.
  1211  func (this SVGMarkerElement) PreserveAspectRatio() (ret SVGAnimatedPreserveAspectRatio, ok bool) {
  1212  	ok = js.True == bindings.GetSVGMarkerElementPreserveAspectRatio(
  1213  		this.ref, js.Pointer(&ret),
  1214  	)
  1215  	return
  1216  }
  1217  
  1218  // HasFuncSetOrientToAuto returns true if the method "SVGMarkerElement.setOrientToAuto" exists.
  1219  func (this SVGMarkerElement) HasFuncSetOrientToAuto() bool {
  1220  	return js.True == bindings.HasFuncSVGMarkerElementSetOrientToAuto(
  1221  		this.ref,
  1222  	)
  1223  }
  1224  
  1225  // FuncSetOrientToAuto returns the method "SVGMarkerElement.setOrientToAuto".
  1226  func (this SVGMarkerElement) FuncSetOrientToAuto() (fn js.Func[func()]) {
  1227  	bindings.FuncSVGMarkerElementSetOrientToAuto(
  1228  		this.ref, js.Pointer(&fn),
  1229  	)
  1230  	return
  1231  }
  1232  
  1233  // SetOrientToAuto calls the method "SVGMarkerElement.setOrientToAuto".
  1234  func (this SVGMarkerElement) SetOrientToAuto() (ret js.Void) {
  1235  	bindings.CallSVGMarkerElementSetOrientToAuto(
  1236  		this.ref, js.Pointer(&ret),
  1237  	)
  1238  
  1239  	return
  1240  }
  1241  
  1242  // TrySetOrientToAuto calls the method "SVGMarkerElement.setOrientToAuto"
  1243  // in a try/catch block and returns (_, err, ok = false) when it went through
  1244  // the catch clause.
  1245  func (this SVGMarkerElement) TrySetOrientToAuto() (ret js.Void, exception js.Any, ok bool) {
  1246  	ok = js.True == bindings.TrySVGMarkerElementSetOrientToAuto(
  1247  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1248  	)
  1249  
  1250  	return
  1251  }
  1252  
  1253  // HasFuncSetOrientToAngle returns true if the method "SVGMarkerElement.setOrientToAngle" exists.
  1254  func (this SVGMarkerElement) HasFuncSetOrientToAngle() bool {
  1255  	return js.True == bindings.HasFuncSVGMarkerElementSetOrientToAngle(
  1256  		this.ref,
  1257  	)
  1258  }
  1259  
  1260  // FuncSetOrientToAngle returns the method "SVGMarkerElement.setOrientToAngle".
  1261  func (this SVGMarkerElement) FuncSetOrientToAngle() (fn js.Func[func(angle SVGAngle)]) {
  1262  	bindings.FuncSVGMarkerElementSetOrientToAngle(
  1263  		this.ref, js.Pointer(&fn),
  1264  	)
  1265  	return
  1266  }
  1267  
  1268  // SetOrientToAngle calls the method "SVGMarkerElement.setOrientToAngle".
  1269  func (this SVGMarkerElement) SetOrientToAngle(angle SVGAngle) (ret js.Void) {
  1270  	bindings.CallSVGMarkerElementSetOrientToAngle(
  1271  		this.ref, js.Pointer(&ret),
  1272  		angle.Ref(),
  1273  	)
  1274  
  1275  	return
  1276  }
  1277  
  1278  // TrySetOrientToAngle calls the method "SVGMarkerElement.setOrientToAngle"
  1279  // in a try/catch block and returns (_, err, ok = false) when it went through
  1280  // the catch clause.
  1281  func (this SVGMarkerElement) TrySetOrientToAngle(angle SVGAngle) (ret js.Void, exception js.Any, ok bool) {
  1282  	ok = js.True == bindings.TrySVGMarkerElementSetOrientToAngle(
  1283  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1284  		angle.Ref(),
  1285  	)
  1286  
  1287  	return
  1288  }
  1289  
  1290  type SVGMaskElement struct {
  1291  	SVGElement
  1292  }
  1293  
  1294  func (this SVGMaskElement) Once() SVGMaskElement {
  1295  	this.ref.Once()
  1296  	return this
  1297  }
  1298  
  1299  func (this SVGMaskElement) Ref() js.Ref {
  1300  	return this.SVGElement.Ref()
  1301  }
  1302  
  1303  func (this SVGMaskElement) FromRef(ref js.Ref) SVGMaskElement {
  1304  	this.SVGElement = this.SVGElement.FromRef(ref)
  1305  	return this
  1306  }
  1307  
  1308  func (this SVGMaskElement) Free() {
  1309  	this.ref.Free()
  1310  }
  1311  
  1312  // MaskUnits returns the value of property "SVGMaskElement.maskUnits".
  1313  //
  1314  // It returns ok=false if there is no such property.
  1315  func (this SVGMaskElement) MaskUnits() (ret SVGAnimatedEnumeration, ok bool) {
  1316  	ok = js.True == bindings.GetSVGMaskElementMaskUnits(
  1317  		this.ref, js.Pointer(&ret),
  1318  	)
  1319  	return
  1320  }
  1321  
  1322  // MaskContentUnits returns the value of property "SVGMaskElement.maskContentUnits".
  1323  //
  1324  // It returns ok=false if there is no such property.
  1325  func (this SVGMaskElement) MaskContentUnits() (ret SVGAnimatedEnumeration, ok bool) {
  1326  	ok = js.True == bindings.GetSVGMaskElementMaskContentUnits(
  1327  		this.ref, js.Pointer(&ret),
  1328  	)
  1329  	return
  1330  }
  1331  
  1332  // X returns the value of property "SVGMaskElement.x".
  1333  //
  1334  // It returns ok=false if there is no such property.
  1335  func (this SVGMaskElement) X() (ret SVGAnimatedLength, ok bool) {
  1336  	ok = js.True == bindings.GetSVGMaskElementX(
  1337  		this.ref, js.Pointer(&ret),
  1338  	)
  1339  	return
  1340  }
  1341  
  1342  // Y returns the value of property "SVGMaskElement.y".
  1343  //
  1344  // It returns ok=false if there is no such property.
  1345  func (this SVGMaskElement) Y() (ret SVGAnimatedLength, ok bool) {
  1346  	ok = js.True == bindings.GetSVGMaskElementY(
  1347  		this.ref, js.Pointer(&ret),
  1348  	)
  1349  	return
  1350  }
  1351  
  1352  // Width returns the value of property "SVGMaskElement.width".
  1353  //
  1354  // It returns ok=false if there is no such property.
  1355  func (this SVGMaskElement) Width() (ret SVGAnimatedLength, ok bool) {
  1356  	ok = js.True == bindings.GetSVGMaskElementWidth(
  1357  		this.ref, js.Pointer(&ret),
  1358  	)
  1359  	return
  1360  }
  1361  
  1362  // Height returns the value of property "SVGMaskElement.height".
  1363  //
  1364  // It returns ok=false if there is no such property.
  1365  func (this SVGMaskElement) Height() (ret SVGAnimatedLength, ok bool) {
  1366  	ok = js.True == bindings.GetSVGMaskElementHeight(
  1367  		this.ref, js.Pointer(&ret),
  1368  	)
  1369  	return
  1370  }
  1371  
  1372  type SVGMetadataElement struct {
  1373  	SVGElement
  1374  }
  1375  
  1376  func (this SVGMetadataElement) Once() SVGMetadataElement {
  1377  	this.ref.Once()
  1378  	return this
  1379  }
  1380  
  1381  func (this SVGMetadataElement) Ref() js.Ref {
  1382  	return this.SVGElement.Ref()
  1383  }
  1384  
  1385  func (this SVGMetadataElement) FromRef(ref js.Ref) SVGMetadataElement {
  1386  	this.SVGElement = this.SVGElement.FromRef(ref)
  1387  	return this
  1388  }
  1389  
  1390  func (this SVGMetadataElement) Free() {
  1391  	this.ref.Free()
  1392  }
  1393  
  1394  type SVGPathElement struct {
  1395  	SVGGeometryElement
  1396  }
  1397  
  1398  func (this SVGPathElement) Once() SVGPathElement {
  1399  	this.ref.Once()
  1400  	return this
  1401  }
  1402  
  1403  func (this SVGPathElement) Ref() js.Ref {
  1404  	return this.SVGGeometryElement.Ref()
  1405  }
  1406  
  1407  func (this SVGPathElement) FromRef(ref js.Ref) SVGPathElement {
  1408  	this.SVGGeometryElement = this.SVGGeometryElement.FromRef(ref)
  1409  	return this
  1410  }
  1411  
  1412  func (this SVGPathElement) Free() {
  1413  	this.ref.Free()
  1414  }
  1415  
  1416  type SVGPatternElement struct {
  1417  	SVGElement
  1418  }
  1419  
  1420  func (this SVGPatternElement) Once() SVGPatternElement {
  1421  	this.ref.Once()
  1422  	return this
  1423  }
  1424  
  1425  func (this SVGPatternElement) Ref() js.Ref {
  1426  	return this.SVGElement.Ref()
  1427  }
  1428  
  1429  func (this SVGPatternElement) FromRef(ref js.Ref) SVGPatternElement {
  1430  	this.SVGElement = this.SVGElement.FromRef(ref)
  1431  	return this
  1432  }
  1433  
  1434  func (this SVGPatternElement) Free() {
  1435  	this.ref.Free()
  1436  }
  1437  
  1438  // PatternUnits returns the value of property "SVGPatternElement.patternUnits".
  1439  //
  1440  // It returns ok=false if there is no such property.
  1441  func (this SVGPatternElement) PatternUnits() (ret SVGAnimatedEnumeration, ok bool) {
  1442  	ok = js.True == bindings.GetSVGPatternElementPatternUnits(
  1443  		this.ref, js.Pointer(&ret),
  1444  	)
  1445  	return
  1446  }
  1447  
  1448  // PatternContentUnits returns the value of property "SVGPatternElement.patternContentUnits".
  1449  //
  1450  // It returns ok=false if there is no such property.
  1451  func (this SVGPatternElement) PatternContentUnits() (ret SVGAnimatedEnumeration, ok bool) {
  1452  	ok = js.True == bindings.GetSVGPatternElementPatternContentUnits(
  1453  		this.ref, js.Pointer(&ret),
  1454  	)
  1455  	return
  1456  }
  1457  
  1458  // PatternTransform returns the value of property "SVGPatternElement.patternTransform".
  1459  //
  1460  // It returns ok=false if there is no such property.
  1461  func (this SVGPatternElement) PatternTransform() (ret SVGAnimatedTransformList, ok bool) {
  1462  	ok = js.True == bindings.GetSVGPatternElementPatternTransform(
  1463  		this.ref, js.Pointer(&ret),
  1464  	)
  1465  	return
  1466  }
  1467  
  1468  // X returns the value of property "SVGPatternElement.x".
  1469  //
  1470  // It returns ok=false if there is no such property.
  1471  func (this SVGPatternElement) X() (ret SVGAnimatedLength, ok bool) {
  1472  	ok = js.True == bindings.GetSVGPatternElementX(
  1473  		this.ref, js.Pointer(&ret),
  1474  	)
  1475  	return
  1476  }
  1477  
  1478  // Y returns the value of property "SVGPatternElement.y".
  1479  //
  1480  // It returns ok=false if there is no such property.
  1481  func (this SVGPatternElement) Y() (ret SVGAnimatedLength, ok bool) {
  1482  	ok = js.True == bindings.GetSVGPatternElementY(
  1483  		this.ref, js.Pointer(&ret),
  1484  	)
  1485  	return
  1486  }
  1487  
  1488  // Width returns the value of property "SVGPatternElement.width".
  1489  //
  1490  // It returns ok=false if there is no such property.
  1491  func (this SVGPatternElement) Width() (ret SVGAnimatedLength, ok bool) {
  1492  	ok = js.True == bindings.GetSVGPatternElementWidth(
  1493  		this.ref, js.Pointer(&ret),
  1494  	)
  1495  	return
  1496  }
  1497  
  1498  // Height returns the value of property "SVGPatternElement.height".
  1499  //
  1500  // It returns ok=false if there is no such property.
  1501  func (this SVGPatternElement) Height() (ret SVGAnimatedLength, ok bool) {
  1502  	ok = js.True == bindings.GetSVGPatternElementHeight(
  1503  		this.ref, js.Pointer(&ret),
  1504  	)
  1505  	return
  1506  }
  1507  
  1508  // ViewBox returns the value of property "SVGPatternElement.viewBox".
  1509  //
  1510  // It returns ok=false if there is no such property.
  1511  func (this SVGPatternElement) ViewBox() (ret SVGAnimatedRect, ok bool) {
  1512  	ok = js.True == bindings.GetSVGPatternElementViewBox(
  1513  		this.ref, js.Pointer(&ret),
  1514  	)
  1515  	return
  1516  }
  1517  
  1518  // PreserveAspectRatio returns the value of property "SVGPatternElement.preserveAspectRatio".
  1519  //
  1520  // It returns ok=false if there is no such property.
  1521  func (this SVGPatternElement) PreserveAspectRatio() (ret SVGAnimatedPreserveAspectRatio, ok bool) {
  1522  	ok = js.True == bindings.GetSVGPatternElementPreserveAspectRatio(
  1523  		this.ref, js.Pointer(&ret),
  1524  	)
  1525  	return
  1526  }
  1527  
  1528  // Href returns the value of property "SVGPatternElement.href".
  1529  //
  1530  // It returns ok=false if there is no such property.
  1531  func (this SVGPatternElement) Href() (ret SVGAnimatedString, ok bool) {
  1532  	ok = js.True == bindings.GetSVGPatternElementHref(
  1533  		this.ref, js.Pointer(&ret),
  1534  	)
  1535  	return
  1536  }
  1537  
  1538  type SVGPointList struct {
  1539  	ref js.Ref
  1540  }
  1541  
  1542  func (this SVGPointList) Once() SVGPointList {
  1543  	this.ref.Once()
  1544  	return this
  1545  }
  1546  
  1547  func (this SVGPointList) Ref() js.Ref {
  1548  	return this.ref
  1549  }
  1550  
  1551  func (this SVGPointList) FromRef(ref js.Ref) SVGPointList {
  1552  	this.ref = ref
  1553  	return this
  1554  }
  1555  
  1556  func (this SVGPointList) Free() {
  1557  	this.ref.Free()
  1558  }
  1559  
  1560  // Length returns the value of property "SVGPointList.length".
  1561  //
  1562  // It returns ok=false if there is no such property.
  1563  func (this SVGPointList) Length() (ret uint32, ok bool) {
  1564  	ok = js.True == bindings.GetSVGPointListLength(
  1565  		this.ref, js.Pointer(&ret),
  1566  	)
  1567  	return
  1568  }
  1569  
  1570  // NumberOfItems returns the value of property "SVGPointList.numberOfItems".
  1571  //
  1572  // It returns ok=false if there is no such property.
  1573  func (this SVGPointList) NumberOfItems() (ret uint32, ok bool) {
  1574  	ok = js.True == bindings.GetSVGPointListNumberOfItems(
  1575  		this.ref, js.Pointer(&ret),
  1576  	)
  1577  	return
  1578  }
  1579  
  1580  // HasFuncClear returns true if the method "SVGPointList.clear" exists.
  1581  func (this SVGPointList) HasFuncClear() bool {
  1582  	return js.True == bindings.HasFuncSVGPointListClear(
  1583  		this.ref,
  1584  	)
  1585  }
  1586  
  1587  // FuncClear returns the method "SVGPointList.clear".
  1588  func (this SVGPointList) FuncClear() (fn js.Func[func()]) {
  1589  	bindings.FuncSVGPointListClear(
  1590  		this.ref, js.Pointer(&fn),
  1591  	)
  1592  	return
  1593  }
  1594  
  1595  // Clear calls the method "SVGPointList.clear".
  1596  func (this SVGPointList) Clear() (ret js.Void) {
  1597  	bindings.CallSVGPointListClear(
  1598  		this.ref, js.Pointer(&ret),
  1599  	)
  1600  
  1601  	return
  1602  }
  1603  
  1604  // TryClear calls the method "SVGPointList.clear"
  1605  // in a try/catch block and returns (_, err, ok = false) when it went through
  1606  // the catch clause.
  1607  func (this SVGPointList) TryClear() (ret js.Void, exception js.Any, ok bool) {
  1608  	ok = js.True == bindings.TrySVGPointListClear(
  1609  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1610  	)
  1611  
  1612  	return
  1613  }
  1614  
  1615  // HasFuncInitialize returns true if the method "SVGPointList.initialize" exists.
  1616  func (this SVGPointList) HasFuncInitialize() bool {
  1617  	return js.True == bindings.HasFuncSVGPointListInitialize(
  1618  		this.ref,
  1619  	)
  1620  }
  1621  
  1622  // FuncInitialize returns the method "SVGPointList.initialize".
  1623  func (this SVGPointList) FuncInitialize() (fn js.Func[func(newItem DOMPoint) DOMPoint]) {
  1624  	bindings.FuncSVGPointListInitialize(
  1625  		this.ref, js.Pointer(&fn),
  1626  	)
  1627  	return
  1628  }
  1629  
  1630  // Initialize calls the method "SVGPointList.initialize".
  1631  func (this SVGPointList) Initialize(newItem DOMPoint) (ret DOMPoint) {
  1632  	bindings.CallSVGPointListInitialize(
  1633  		this.ref, js.Pointer(&ret),
  1634  		newItem.Ref(),
  1635  	)
  1636  
  1637  	return
  1638  }
  1639  
  1640  // TryInitialize calls the method "SVGPointList.initialize"
  1641  // in a try/catch block and returns (_, err, ok = false) when it went through
  1642  // the catch clause.
  1643  func (this SVGPointList) TryInitialize(newItem DOMPoint) (ret DOMPoint, exception js.Any, ok bool) {
  1644  	ok = js.True == bindings.TrySVGPointListInitialize(
  1645  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1646  		newItem.Ref(),
  1647  	)
  1648  
  1649  	return
  1650  }
  1651  
  1652  // HasFuncGetItem returns true if the method "SVGPointList.getItem" exists.
  1653  func (this SVGPointList) HasFuncGetItem() bool {
  1654  	return js.True == bindings.HasFuncSVGPointListGetItem(
  1655  		this.ref,
  1656  	)
  1657  }
  1658  
  1659  // FuncGetItem returns the method "SVGPointList.getItem".
  1660  func (this SVGPointList) FuncGetItem() (fn js.Func[func(index uint32) DOMPoint]) {
  1661  	bindings.FuncSVGPointListGetItem(
  1662  		this.ref, js.Pointer(&fn),
  1663  	)
  1664  	return
  1665  }
  1666  
  1667  // GetItem calls the method "SVGPointList.getItem".
  1668  func (this SVGPointList) GetItem(index uint32) (ret DOMPoint) {
  1669  	bindings.CallSVGPointListGetItem(
  1670  		this.ref, js.Pointer(&ret),
  1671  		uint32(index),
  1672  	)
  1673  
  1674  	return
  1675  }
  1676  
  1677  // TryGetItem calls the method "SVGPointList.getItem"
  1678  // in a try/catch block and returns (_, err, ok = false) when it went through
  1679  // the catch clause.
  1680  func (this SVGPointList) TryGetItem(index uint32) (ret DOMPoint, exception js.Any, ok bool) {
  1681  	ok = js.True == bindings.TrySVGPointListGetItem(
  1682  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1683  		uint32(index),
  1684  	)
  1685  
  1686  	return
  1687  }
  1688  
  1689  // HasFuncInsertItemBefore returns true if the method "SVGPointList.insertItemBefore" exists.
  1690  func (this SVGPointList) HasFuncInsertItemBefore() bool {
  1691  	return js.True == bindings.HasFuncSVGPointListInsertItemBefore(
  1692  		this.ref,
  1693  	)
  1694  }
  1695  
  1696  // FuncInsertItemBefore returns the method "SVGPointList.insertItemBefore".
  1697  func (this SVGPointList) FuncInsertItemBefore() (fn js.Func[func(newItem DOMPoint, index uint32) DOMPoint]) {
  1698  	bindings.FuncSVGPointListInsertItemBefore(
  1699  		this.ref, js.Pointer(&fn),
  1700  	)
  1701  	return
  1702  }
  1703  
  1704  // InsertItemBefore calls the method "SVGPointList.insertItemBefore".
  1705  func (this SVGPointList) InsertItemBefore(newItem DOMPoint, index uint32) (ret DOMPoint) {
  1706  	bindings.CallSVGPointListInsertItemBefore(
  1707  		this.ref, js.Pointer(&ret),
  1708  		newItem.Ref(),
  1709  		uint32(index),
  1710  	)
  1711  
  1712  	return
  1713  }
  1714  
  1715  // TryInsertItemBefore calls the method "SVGPointList.insertItemBefore"
  1716  // in a try/catch block and returns (_, err, ok = false) when it went through
  1717  // the catch clause.
  1718  func (this SVGPointList) TryInsertItemBefore(newItem DOMPoint, index uint32) (ret DOMPoint, exception js.Any, ok bool) {
  1719  	ok = js.True == bindings.TrySVGPointListInsertItemBefore(
  1720  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1721  		newItem.Ref(),
  1722  		uint32(index),
  1723  	)
  1724  
  1725  	return
  1726  }
  1727  
  1728  // HasFuncReplaceItem returns true if the method "SVGPointList.replaceItem" exists.
  1729  func (this SVGPointList) HasFuncReplaceItem() bool {
  1730  	return js.True == bindings.HasFuncSVGPointListReplaceItem(
  1731  		this.ref,
  1732  	)
  1733  }
  1734  
  1735  // FuncReplaceItem returns the method "SVGPointList.replaceItem".
  1736  func (this SVGPointList) FuncReplaceItem() (fn js.Func[func(newItem DOMPoint, index uint32) DOMPoint]) {
  1737  	bindings.FuncSVGPointListReplaceItem(
  1738  		this.ref, js.Pointer(&fn),
  1739  	)
  1740  	return
  1741  }
  1742  
  1743  // ReplaceItem calls the method "SVGPointList.replaceItem".
  1744  func (this SVGPointList) ReplaceItem(newItem DOMPoint, index uint32) (ret DOMPoint) {
  1745  	bindings.CallSVGPointListReplaceItem(
  1746  		this.ref, js.Pointer(&ret),
  1747  		newItem.Ref(),
  1748  		uint32(index),
  1749  	)
  1750  
  1751  	return
  1752  }
  1753  
  1754  // TryReplaceItem calls the method "SVGPointList.replaceItem"
  1755  // in a try/catch block and returns (_, err, ok = false) when it went through
  1756  // the catch clause.
  1757  func (this SVGPointList) TryReplaceItem(newItem DOMPoint, index uint32) (ret DOMPoint, exception js.Any, ok bool) {
  1758  	ok = js.True == bindings.TrySVGPointListReplaceItem(
  1759  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1760  		newItem.Ref(),
  1761  		uint32(index),
  1762  	)
  1763  
  1764  	return
  1765  }
  1766  
  1767  // HasFuncRemoveItem returns true if the method "SVGPointList.removeItem" exists.
  1768  func (this SVGPointList) HasFuncRemoveItem() bool {
  1769  	return js.True == bindings.HasFuncSVGPointListRemoveItem(
  1770  		this.ref,
  1771  	)
  1772  }
  1773  
  1774  // FuncRemoveItem returns the method "SVGPointList.removeItem".
  1775  func (this SVGPointList) FuncRemoveItem() (fn js.Func[func(index uint32) DOMPoint]) {
  1776  	bindings.FuncSVGPointListRemoveItem(
  1777  		this.ref, js.Pointer(&fn),
  1778  	)
  1779  	return
  1780  }
  1781  
  1782  // RemoveItem calls the method "SVGPointList.removeItem".
  1783  func (this SVGPointList) RemoveItem(index uint32) (ret DOMPoint) {
  1784  	bindings.CallSVGPointListRemoveItem(
  1785  		this.ref, js.Pointer(&ret),
  1786  		uint32(index),
  1787  	)
  1788  
  1789  	return
  1790  }
  1791  
  1792  // TryRemoveItem calls the method "SVGPointList.removeItem"
  1793  // in a try/catch block and returns (_, err, ok = false) when it went through
  1794  // the catch clause.
  1795  func (this SVGPointList) TryRemoveItem(index uint32) (ret DOMPoint, exception js.Any, ok bool) {
  1796  	ok = js.True == bindings.TrySVGPointListRemoveItem(
  1797  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1798  		uint32(index),
  1799  	)
  1800  
  1801  	return
  1802  }
  1803  
  1804  // HasFuncAppendItem returns true if the method "SVGPointList.appendItem" exists.
  1805  func (this SVGPointList) HasFuncAppendItem() bool {
  1806  	return js.True == bindings.HasFuncSVGPointListAppendItem(
  1807  		this.ref,
  1808  	)
  1809  }
  1810  
  1811  // FuncAppendItem returns the method "SVGPointList.appendItem".
  1812  func (this SVGPointList) FuncAppendItem() (fn js.Func[func(newItem DOMPoint) DOMPoint]) {
  1813  	bindings.FuncSVGPointListAppendItem(
  1814  		this.ref, js.Pointer(&fn),
  1815  	)
  1816  	return
  1817  }
  1818  
  1819  // AppendItem calls the method "SVGPointList.appendItem".
  1820  func (this SVGPointList) AppendItem(newItem DOMPoint) (ret DOMPoint) {
  1821  	bindings.CallSVGPointListAppendItem(
  1822  		this.ref, js.Pointer(&ret),
  1823  		newItem.Ref(),
  1824  	)
  1825  
  1826  	return
  1827  }
  1828  
  1829  // TryAppendItem calls the method "SVGPointList.appendItem"
  1830  // in a try/catch block and returns (_, err, ok = false) when it went through
  1831  // the catch clause.
  1832  func (this SVGPointList) TryAppendItem(newItem DOMPoint) (ret DOMPoint, exception js.Any, ok bool) {
  1833  	ok = js.True == bindings.TrySVGPointListAppendItem(
  1834  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1835  		newItem.Ref(),
  1836  	)
  1837  
  1838  	return
  1839  }
  1840  
  1841  // HasFuncSet returns true if the method "SVGPointList." exists.
  1842  func (this SVGPointList) HasFuncSet() bool {
  1843  	return js.True == bindings.HasFuncSVGPointListSet(
  1844  		this.ref,
  1845  	)
  1846  }
  1847  
  1848  // FuncSet returns the method "SVGPointList.".
  1849  func (this SVGPointList) FuncSet() (fn js.Func[func(index uint32, newItem DOMPoint)]) {
  1850  	bindings.FuncSVGPointListSet(
  1851  		this.ref, js.Pointer(&fn),
  1852  	)
  1853  	return
  1854  }
  1855  
  1856  // Set calls the method "SVGPointList.".
  1857  func (this SVGPointList) Set(index uint32, newItem DOMPoint) (ret js.Void) {
  1858  	bindings.CallSVGPointListSet(
  1859  		this.ref, js.Pointer(&ret),
  1860  		uint32(index),
  1861  		newItem.Ref(),
  1862  	)
  1863  
  1864  	return
  1865  }
  1866  
  1867  // TrySet calls the method "SVGPointList."
  1868  // in a try/catch block and returns (_, err, ok = false) when it went through
  1869  // the catch clause.
  1870  func (this SVGPointList) TrySet(index uint32, newItem DOMPoint) (ret js.Void, exception js.Any, ok bool) {
  1871  	ok = js.True == bindings.TrySVGPointListSet(
  1872  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1873  		uint32(index),
  1874  		newItem.Ref(),
  1875  	)
  1876  
  1877  	return
  1878  }
  1879  
  1880  type SVGPolygonElement struct {
  1881  	SVGGeometryElement
  1882  }
  1883  
  1884  func (this SVGPolygonElement) Once() SVGPolygonElement {
  1885  	this.ref.Once()
  1886  	return this
  1887  }
  1888  
  1889  func (this SVGPolygonElement) Ref() js.Ref {
  1890  	return this.SVGGeometryElement.Ref()
  1891  }
  1892  
  1893  func (this SVGPolygonElement) FromRef(ref js.Ref) SVGPolygonElement {
  1894  	this.SVGGeometryElement = this.SVGGeometryElement.FromRef(ref)
  1895  	return this
  1896  }
  1897  
  1898  func (this SVGPolygonElement) Free() {
  1899  	this.ref.Free()
  1900  }
  1901  
  1902  // Points returns the value of property "SVGPolygonElement.points".
  1903  //
  1904  // It returns ok=false if there is no such property.
  1905  func (this SVGPolygonElement) Points() (ret SVGPointList, ok bool) {
  1906  	ok = js.True == bindings.GetSVGPolygonElementPoints(
  1907  		this.ref, js.Pointer(&ret),
  1908  	)
  1909  	return
  1910  }
  1911  
  1912  // AnimatedPoints returns the value of property "SVGPolygonElement.animatedPoints".
  1913  //
  1914  // It returns ok=false if there is no such property.
  1915  func (this SVGPolygonElement) AnimatedPoints() (ret SVGPointList, ok bool) {
  1916  	ok = js.True == bindings.GetSVGPolygonElementAnimatedPoints(
  1917  		this.ref, js.Pointer(&ret),
  1918  	)
  1919  	return
  1920  }
  1921  
  1922  type SVGPolylineElement struct {
  1923  	SVGGeometryElement
  1924  }
  1925  
  1926  func (this SVGPolylineElement) Once() SVGPolylineElement {
  1927  	this.ref.Once()
  1928  	return this
  1929  }
  1930  
  1931  func (this SVGPolylineElement) Ref() js.Ref {
  1932  	return this.SVGGeometryElement.Ref()
  1933  }
  1934  
  1935  func (this SVGPolylineElement) FromRef(ref js.Ref) SVGPolylineElement {
  1936  	this.SVGGeometryElement = this.SVGGeometryElement.FromRef(ref)
  1937  	return this
  1938  }
  1939  
  1940  func (this SVGPolylineElement) Free() {
  1941  	this.ref.Free()
  1942  }
  1943  
  1944  // Points returns the value of property "SVGPolylineElement.points".
  1945  //
  1946  // It returns ok=false if there is no such property.
  1947  func (this SVGPolylineElement) Points() (ret SVGPointList, ok bool) {
  1948  	ok = js.True == bindings.GetSVGPolylineElementPoints(
  1949  		this.ref, js.Pointer(&ret),
  1950  	)
  1951  	return
  1952  }
  1953  
  1954  // AnimatedPoints returns the value of property "SVGPolylineElement.animatedPoints".
  1955  //
  1956  // It returns ok=false if there is no such property.
  1957  func (this SVGPolylineElement) AnimatedPoints() (ret SVGPointList, ok bool) {
  1958  	ok = js.True == bindings.GetSVGPolylineElementAnimatedPoints(
  1959  		this.ref, js.Pointer(&ret),
  1960  	)
  1961  	return
  1962  }
  1963  
  1964  type SVGRadialGradientElement struct {
  1965  	SVGGradientElement
  1966  }
  1967  
  1968  func (this SVGRadialGradientElement) Once() SVGRadialGradientElement {
  1969  	this.ref.Once()
  1970  	return this
  1971  }
  1972  
  1973  func (this SVGRadialGradientElement) Ref() js.Ref {
  1974  	return this.SVGGradientElement.Ref()
  1975  }
  1976  
  1977  func (this SVGRadialGradientElement) FromRef(ref js.Ref) SVGRadialGradientElement {
  1978  	this.SVGGradientElement = this.SVGGradientElement.FromRef(ref)
  1979  	return this
  1980  }
  1981  
  1982  func (this SVGRadialGradientElement) Free() {
  1983  	this.ref.Free()
  1984  }
  1985  
  1986  // Cx returns the value of property "SVGRadialGradientElement.cx".
  1987  //
  1988  // It returns ok=false if there is no such property.
  1989  func (this SVGRadialGradientElement) Cx() (ret SVGAnimatedLength, ok bool) {
  1990  	ok = js.True == bindings.GetSVGRadialGradientElementCx(
  1991  		this.ref, js.Pointer(&ret),
  1992  	)
  1993  	return
  1994  }
  1995  
  1996  // Cy returns the value of property "SVGRadialGradientElement.cy".
  1997  //
  1998  // It returns ok=false if there is no such property.
  1999  func (this SVGRadialGradientElement) Cy() (ret SVGAnimatedLength, ok bool) {
  2000  	ok = js.True == bindings.GetSVGRadialGradientElementCy(
  2001  		this.ref, js.Pointer(&ret),
  2002  	)
  2003  	return
  2004  }
  2005  
  2006  // R returns the value of property "SVGRadialGradientElement.r".
  2007  //
  2008  // It returns ok=false if there is no such property.
  2009  func (this SVGRadialGradientElement) R() (ret SVGAnimatedLength, ok bool) {
  2010  	ok = js.True == bindings.GetSVGRadialGradientElementR(
  2011  		this.ref, js.Pointer(&ret),
  2012  	)
  2013  	return
  2014  }
  2015  
  2016  // Fx returns the value of property "SVGRadialGradientElement.fx".
  2017  //
  2018  // It returns ok=false if there is no such property.
  2019  func (this SVGRadialGradientElement) Fx() (ret SVGAnimatedLength, ok bool) {
  2020  	ok = js.True == bindings.GetSVGRadialGradientElementFx(
  2021  		this.ref, js.Pointer(&ret),
  2022  	)
  2023  	return
  2024  }
  2025  
  2026  // Fy returns the value of property "SVGRadialGradientElement.fy".
  2027  //
  2028  // It returns ok=false if there is no such property.
  2029  func (this SVGRadialGradientElement) Fy() (ret SVGAnimatedLength, ok bool) {
  2030  	ok = js.True == bindings.GetSVGRadialGradientElementFy(
  2031  		this.ref, js.Pointer(&ret),
  2032  	)
  2033  	return
  2034  }
  2035  
  2036  // Fr returns the value of property "SVGRadialGradientElement.fr".
  2037  //
  2038  // It returns ok=false if there is no such property.
  2039  func (this SVGRadialGradientElement) Fr() (ret SVGAnimatedLength, ok bool) {
  2040  	ok = js.True == bindings.GetSVGRadialGradientElementFr(
  2041  		this.ref, js.Pointer(&ret),
  2042  	)
  2043  	return
  2044  }
  2045  
  2046  type SVGRectElement struct {
  2047  	SVGGeometryElement
  2048  }
  2049  
  2050  func (this SVGRectElement) Once() SVGRectElement {
  2051  	this.ref.Once()
  2052  	return this
  2053  }
  2054  
  2055  func (this SVGRectElement) Ref() js.Ref {
  2056  	return this.SVGGeometryElement.Ref()
  2057  }
  2058  
  2059  func (this SVGRectElement) FromRef(ref js.Ref) SVGRectElement {
  2060  	this.SVGGeometryElement = this.SVGGeometryElement.FromRef(ref)
  2061  	return this
  2062  }
  2063  
  2064  func (this SVGRectElement) Free() {
  2065  	this.ref.Free()
  2066  }
  2067  
  2068  // X returns the value of property "SVGRectElement.x".
  2069  //
  2070  // It returns ok=false if there is no such property.
  2071  func (this SVGRectElement) X() (ret SVGAnimatedLength, ok bool) {
  2072  	ok = js.True == bindings.GetSVGRectElementX(
  2073  		this.ref, js.Pointer(&ret),
  2074  	)
  2075  	return
  2076  }
  2077  
  2078  // Y returns the value of property "SVGRectElement.y".
  2079  //
  2080  // It returns ok=false if there is no such property.
  2081  func (this SVGRectElement) Y() (ret SVGAnimatedLength, ok bool) {
  2082  	ok = js.True == bindings.GetSVGRectElementY(
  2083  		this.ref, js.Pointer(&ret),
  2084  	)
  2085  	return
  2086  }
  2087  
  2088  // Width returns the value of property "SVGRectElement.width".
  2089  //
  2090  // It returns ok=false if there is no such property.
  2091  func (this SVGRectElement) Width() (ret SVGAnimatedLength, ok bool) {
  2092  	ok = js.True == bindings.GetSVGRectElementWidth(
  2093  		this.ref, js.Pointer(&ret),
  2094  	)
  2095  	return
  2096  }
  2097  
  2098  // Height returns the value of property "SVGRectElement.height".
  2099  //
  2100  // It returns ok=false if there is no such property.
  2101  func (this SVGRectElement) Height() (ret SVGAnimatedLength, ok bool) {
  2102  	ok = js.True == bindings.GetSVGRectElementHeight(
  2103  		this.ref, js.Pointer(&ret),
  2104  	)
  2105  	return
  2106  }
  2107  
  2108  // Rx returns the value of property "SVGRectElement.rx".
  2109  //
  2110  // It returns ok=false if there is no such property.
  2111  func (this SVGRectElement) Rx() (ret SVGAnimatedLength, ok bool) {
  2112  	ok = js.True == bindings.GetSVGRectElementRx(
  2113  		this.ref, js.Pointer(&ret),
  2114  	)
  2115  	return
  2116  }
  2117  
  2118  // Ry returns the value of property "SVGRectElement.ry".
  2119  //
  2120  // It returns ok=false if there is no such property.
  2121  func (this SVGRectElement) Ry() (ret SVGAnimatedLength, ok bool) {
  2122  	ok = js.True == bindings.GetSVGRectElementRy(
  2123  		this.ref, js.Pointer(&ret),
  2124  	)
  2125  	return
  2126  }
  2127  
  2128  type SVGSetElement struct {
  2129  	SVGAnimationElement
  2130  }
  2131  
  2132  func (this SVGSetElement) Once() SVGSetElement {
  2133  	this.ref.Once()
  2134  	return this
  2135  }
  2136  
  2137  func (this SVGSetElement) Ref() js.Ref {
  2138  	return this.SVGAnimationElement.Ref()
  2139  }
  2140  
  2141  func (this SVGSetElement) FromRef(ref js.Ref) SVGSetElement {
  2142  	this.SVGAnimationElement = this.SVGAnimationElement.FromRef(ref)
  2143  	return this
  2144  }
  2145  
  2146  func (this SVGSetElement) Free() {
  2147  	this.ref.Free()
  2148  }
  2149  
  2150  type SVGStopElement struct {
  2151  	SVGElement
  2152  }
  2153  
  2154  func (this SVGStopElement) Once() SVGStopElement {
  2155  	this.ref.Once()
  2156  	return this
  2157  }
  2158  
  2159  func (this SVGStopElement) Ref() js.Ref {
  2160  	return this.SVGElement.Ref()
  2161  }
  2162  
  2163  func (this SVGStopElement) FromRef(ref js.Ref) SVGStopElement {
  2164  	this.SVGElement = this.SVGElement.FromRef(ref)
  2165  	return this
  2166  }
  2167  
  2168  func (this SVGStopElement) Free() {
  2169  	this.ref.Free()
  2170  }
  2171  
  2172  // Offset returns the value of property "SVGStopElement.offset".
  2173  //
  2174  // It returns ok=false if there is no such property.
  2175  func (this SVGStopElement) Offset() (ret SVGAnimatedNumber, ok bool) {
  2176  	ok = js.True == bindings.GetSVGStopElementOffset(
  2177  		this.ref, js.Pointer(&ret),
  2178  	)
  2179  	return
  2180  }
  2181  
  2182  type SVGStyleElement struct {
  2183  	SVGElement
  2184  }
  2185  
  2186  func (this SVGStyleElement) Once() SVGStyleElement {
  2187  	this.ref.Once()
  2188  	return this
  2189  }
  2190  
  2191  func (this SVGStyleElement) Ref() js.Ref {
  2192  	return this.SVGElement.Ref()
  2193  }
  2194  
  2195  func (this SVGStyleElement) FromRef(ref js.Ref) SVGStyleElement {
  2196  	this.SVGElement = this.SVGElement.FromRef(ref)
  2197  	return this
  2198  }
  2199  
  2200  func (this SVGStyleElement) Free() {
  2201  	this.ref.Free()
  2202  }
  2203  
  2204  // Type returns the value of property "SVGStyleElement.type".
  2205  //
  2206  // It returns ok=false if there is no such property.
  2207  func (this SVGStyleElement) Type() (ret js.String, ok bool) {
  2208  	ok = js.True == bindings.GetSVGStyleElementType(
  2209  		this.ref, js.Pointer(&ret),
  2210  	)
  2211  	return
  2212  }
  2213  
  2214  // SetType sets the value of property "SVGStyleElement.type" to val.
  2215  //
  2216  // It returns false if the property cannot be set.
  2217  func (this SVGStyleElement) SetType(val js.String) bool {
  2218  	return js.True == bindings.SetSVGStyleElementType(
  2219  		this.ref,
  2220  		val.Ref(),
  2221  	)
  2222  }
  2223  
  2224  // Media returns the value of property "SVGStyleElement.media".
  2225  //
  2226  // It returns ok=false if there is no such property.
  2227  func (this SVGStyleElement) Media() (ret js.String, ok bool) {
  2228  	ok = js.True == bindings.GetSVGStyleElementMedia(
  2229  		this.ref, js.Pointer(&ret),
  2230  	)
  2231  	return
  2232  }
  2233  
  2234  // SetMedia sets the value of property "SVGStyleElement.media" to val.
  2235  //
  2236  // It returns false if the property cannot be set.
  2237  func (this SVGStyleElement) SetMedia(val js.String) bool {
  2238  	return js.True == bindings.SetSVGStyleElementMedia(
  2239  		this.ref,
  2240  		val.Ref(),
  2241  	)
  2242  }
  2243  
  2244  // Title returns the value of property "SVGStyleElement.title".
  2245  //
  2246  // It returns ok=false if there is no such property.
  2247  func (this SVGStyleElement) Title() (ret js.String, ok bool) {
  2248  	ok = js.True == bindings.GetSVGStyleElementTitle(
  2249  		this.ref, js.Pointer(&ret),
  2250  	)
  2251  	return
  2252  }
  2253  
  2254  // SetTitle sets the value of property "SVGStyleElement.title" to val.
  2255  //
  2256  // It returns false if the property cannot be set.
  2257  func (this SVGStyleElement) SetTitle(val js.String) bool {
  2258  	return js.True == bindings.SetSVGStyleElementTitle(
  2259  		this.ref,
  2260  		val.Ref(),
  2261  	)
  2262  }
  2263  
  2264  // Sheet returns the value of property "SVGStyleElement.sheet".
  2265  //
  2266  // It returns ok=false if there is no such property.
  2267  func (this SVGStyleElement) Sheet() (ret CSSStyleSheet, ok bool) {
  2268  	ok = js.True == bindings.GetSVGStyleElementSheet(
  2269  		this.ref, js.Pointer(&ret),
  2270  	)
  2271  	return
  2272  }
  2273  
  2274  type SVGSwitchElement struct {
  2275  	SVGGraphicsElement
  2276  }
  2277  
  2278  func (this SVGSwitchElement) Once() SVGSwitchElement {
  2279  	this.ref.Once()
  2280  	return this
  2281  }
  2282  
  2283  func (this SVGSwitchElement) Ref() js.Ref {
  2284  	return this.SVGGraphicsElement.Ref()
  2285  }
  2286  
  2287  func (this SVGSwitchElement) FromRef(ref js.Ref) SVGSwitchElement {
  2288  	this.SVGGraphicsElement = this.SVGGraphicsElement.FromRef(ref)
  2289  	return this
  2290  }
  2291  
  2292  func (this SVGSwitchElement) Free() {
  2293  	this.ref.Free()
  2294  }
  2295  
  2296  type SVGSymbolElement struct {
  2297  	SVGGraphicsElement
  2298  }
  2299  
  2300  func (this SVGSymbolElement) Once() SVGSymbolElement {
  2301  	this.ref.Once()
  2302  	return this
  2303  }
  2304  
  2305  func (this SVGSymbolElement) Ref() js.Ref {
  2306  	return this.SVGGraphicsElement.Ref()
  2307  }
  2308  
  2309  func (this SVGSymbolElement) FromRef(ref js.Ref) SVGSymbolElement {
  2310  	this.SVGGraphicsElement = this.SVGGraphicsElement.FromRef(ref)
  2311  	return this
  2312  }
  2313  
  2314  func (this SVGSymbolElement) Free() {
  2315  	this.ref.Free()
  2316  }
  2317  
  2318  // ViewBox returns the value of property "SVGSymbolElement.viewBox".
  2319  //
  2320  // It returns ok=false if there is no such property.
  2321  func (this SVGSymbolElement) ViewBox() (ret SVGAnimatedRect, ok bool) {
  2322  	ok = js.True == bindings.GetSVGSymbolElementViewBox(
  2323  		this.ref, js.Pointer(&ret),
  2324  	)
  2325  	return
  2326  }
  2327  
  2328  // PreserveAspectRatio returns the value of property "SVGSymbolElement.preserveAspectRatio".
  2329  //
  2330  // It returns ok=false if there is no such property.
  2331  func (this SVGSymbolElement) PreserveAspectRatio() (ret SVGAnimatedPreserveAspectRatio, ok bool) {
  2332  	ok = js.True == bindings.GetSVGSymbolElementPreserveAspectRatio(
  2333  		this.ref, js.Pointer(&ret),
  2334  	)
  2335  	return
  2336  }
  2337  
  2338  type SVGTSpanElement struct {
  2339  	SVGTextPositioningElement
  2340  }
  2341  
  2342  func (this SVGTSpanElement) Once() SVGTSpanElement {
  2343  	this.ref.Once()
  2344  	return this
  2345  }
  2346  
  2347  func (this SVGTSpanElement) Ref() js.Ref {
  2348  	return this.SVGTextPositioningElement.Ref()
  2349  }
  2350  
  2351  func (this SVGTSpanElement) FromRef(ref js.Ref) SVGTSpanElement {
  2352  	this.SVGTextPositioningElement = this.SVGTextPositioningElement.FromRef(ref)
  2353  	return this
  2354  }
  2355  
  2356  func (this SVGTSpanElement) Free() {
  2357  	this.ref.Free()
  2358  }
  2359  
  2360  const (
  2361  	SVGTextContentElement_LENGTHADJUST_UNKNOWN          uint16 = 0
  2362  	SVGTextContentElement_LENGTHADJUST_SPACING          uint16 = 1
  2363  	SVGTextContentElement_LENGTHADJUST_SPACINGANDGLYPHS uint16 = 2
  2364  )
  2365  
  2366  type SVGTextContentElement struct {
  2367  	SVGGraphicsElement
  2368  }
  2369  
  2370  func (this SVGTextContentElement) Once() SVGTextContentElement {
  2371  	this.ref.Once()
  2372  	return this
  2373  }
  2374  
  2375  func (this SVGTextContentElement) Ref() js.Ref {
  2376  	return this.SVGGraphicsElement.Ref()
  2377  }
  2378  
  2379  func (this SVGTextContentElement) FromRef(ref js.Ref) SVGTextContentElement {
  2380  	this.SVGGraphicsElement = this.SVGGraphicsElement.FromRef(ref)
  2381  	return this
  2382  }
  2383  
  2384  func (this SVGTextContentElement) Free() {
  2385  	this.ref.Free()
  2386  }
  2387  
  2388  // TextLength returns the value of property "SVGTextContentElement.textLength".
  2389  //
  2390  // It returns ok=false if there is no such property.
  2391  func (this SVGTextContentElement) TextLength() (ret SVGAnimatedLength, ok bool) {
  2392  	ok = js.True == bindings.GetSVGTextContentElementTextLength(
  2393  		this.ref, js.Pointer(&ret),
  2394  	)
  2395  	return
  2396  }
  2397  
  2398  // LengthAdjust returns the value of property "SVGTextContentElement.lengthAdjust".
  2399  //
  2400  // It returns ok=false if there is no such property.
  2401  func (this SVGTextContentElement) LengthAdjust() (ret SVGAnimatedEnumeration, ok bool) {
  2402  	ok = js.True == bindings.GetSVGTextContentElementLengthAdjust(
  2403  		this.ref, js.Pointer(&ret),
  2404  	)
  2405  	return
  2406  }
  2407  
  2408  // HasFuncGetNumberOfChars returns true if the method "SVGTextContentElement.getNumberOfChars" exists.
  2409  func (this SVGTextContentElement) HasFuncGetNumberOfChars() bool {
  2410  	return js.True == bindings.HasFuncSVGTextContentElementGetNumberOfChars(
  2411  		this.ref,
  2412  	)
  2413  }
  2414  
  2415  // FuncGetNumberOfChars returns the method "SVGTextContentElement.getNumberOfChars".
  2416  func (this SVGTextContentElement) FuncGetNumberOfChars() (fn js.Func[func() int32]) {
  2417  	bindings.FuncSVGTextContentElementGetNumberOfChars(
  2418  		this.ref, js.Pointer(&fn),
  2419  	)
  2420  	return
  2421  }
  2422  
  2423  // GetNumberOfChars calls the method "SVGTextContentElement.getNumberOfChars".
  2424  func (this SVGTextContentElement) GetNumberOfChars() (ret int32) {
  2425  	bindings.CallSVGTextContentElementGetNumberOfChars(
  2426  		this.ref, js.Pointer(&ret),
  2427  	)
  2428  
  2429  	return
  2430  }
  2431  
  2432  // TryGetNumberOfChars calls the method "SVGTextContentElement.getNumberOfChars"
  2433  // in a try/catch block and returns (_, err, ok = false) when it went through
  2434  // the catch clause.
  2435  func (this SVGTextContentElement) TryGetNumberOfChars() (ret int32, exception js.Any, ok bool) {
  2436  	ok = js.True == bindings.TrySVGTextContentElementGetNumberOfChars(
  2437  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2438  	)
  2439  
  2440  	return
  2441  }
  2442  
  2443  // HasFuncGetComputedTextLength returns true if the method "SVGTextContentElement.getComputedTextLength" exists.
  2444  func (this SVGTextContentElement) HasFuncGetComputedTextLength() bool {
  2445  	return js.True == bindings.HasFuncSVGTextContentElementGetComputedTextLength(
  2446  		this.ref,
  2447  	)
  2448  }
  2449  
  2450  // FuncGetComputedTextLength returns the method "SVGTextContentElement.getComputedTextLength".
  2451  func (this SVGTextContentElement) FuncGetComputedTextLength() (fn js.Func[func() float32]) {
  2452  	bindings.FuncSVGTextContentElementGetComputedTextLength(
  2453  		this.ref, js.Pointer(&fn),
  2454  	)
  2455  	return
  2456  }
  2457  
  2458  // GetComputedTextLength calls the method "SVGTextContentElement.getComputedTextLength".
  2459  func (this SVGTextContentElement) GetComputedTextLength() (ret float32) {
  2460  	bindings.CallSVGTextContentElementGetComputedTextLength(
  2461  		this.ref, js.Pointer(&ret),
  2462  	)
  2463  
  2464  	return
  2465  }
  2466  
  2467  // TryGetComputedTextLength calls the method "SVGTextContentElement.getComputedTextLength"
  2468  // in a try/catch block and returns (_, err, ok = false) when it went through
  2469  // the catch clause.
  2470  func (this SVGTextContentElement) TryGetComputedTextLength() (ret float32, exception js.Any, ok bool) {
  2471  	ok = js.True == bindings.TrySVGTextContentElementGetComputedTextLength(
  2472  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2473  	)
  2474  
  2475  	return
  2476  }
  2477  
  2478  // HasFuncGetSubStringLength returns true if the method "SVGTextContentElement.getSubStringLength" exists.
  2479  func (this SVGTextContentElement) HasFuncGetSubStringLength() bool {
  2480  	return js.True == bindings.HasFuncSVGTextContentElementGetSubStringLength(
  2481  		this.ref,
  2482  	)
  2483  }
  2484  
  2485  // FuncGetSubStringLength returns the method "SVGTextContentElement.getSubStringLength".
  2486  func (this SVGTextContentElement) FuncGetSubStringLength() (fn js.Func[func(charnum uint32, nchars uint32) float32]) {
  2487  	bindings.FuncSVGTextContentElementGetSubStringLength(
  2488  		this.ref, js.Pointer(&fn),
  2489  	)
  2490  	return
  2491  }
  2492  
  2493  // GetSubStringLength calls the method "SVGTextContentElement.getSubStringLength".
  2494  func (this SVGTextContentElement) GetSubStringLength(charnum uint32, nchars uint32) (ret float32) {
  2495  	bindings.CallSVGTextContentElementGetSubStringLength(
  2496  		this.ref, js.Pointer(&ret),
  2497  		uint32(charnum),
  2498  		uint32(nchars),
  2499  	)
  2500  
  2501  	return
  2502  }
  2503  
  2504  // TryGetSubStringLength calls the method "SVGTextContentElement.getSubStringLength"
  2505  // in a try/catch block and returns (_, err, ok = false) when it went through
  2506  // the catch clause.
  2507  func (this SVGTextContentElement) TryGetSubStringLength(charnum uint32, nchars uint32) (ret float32, exception js.Any, ok bool) {
  2508  	ok = js.True == bindings.TrySVGTextContentElementGetSubStringLength(
  2509  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2510  		uint32(charnum),
  2511  		uint32(nchars),
  2512  	)
  2513  
  2514  	return
  2515  }
  2516  
  2517  // HasFuncGetStartPositionOfChar returns true if the method "SVGTextContentElement.getStartPositionOfChar" exists.
  2518  func (this SVGTextContentElement) HasFuncGetStartPositionOfChar() bool {
  2519  	return js.True == bindings.HasFuncSVGTextContentElementGetStartPositionOfChar(
  2520  		this.ref,
  2521  	)
  2522  }
  2523  
  2524  // FuncGetStartPositionOfChar returns the method "SVGTextContentElement.getStartPositionOfChar".
  2525  func (this SVGTextContentElement) FuncGetStartPositionOfChar() (fn js.Func[func(charnum uint32) DOMPoint]) {
  2526  	bindings.FuncSVGTextContentElementGetStartPositionOfChar(
  2527  		this.ref, js.Pointer(&fn),
  2528  	)
  2529  	return
  2530  }
  2531  
  2532  // GetStartPositionOfChar calls the method "SVGTextContentElement.getStartPositionOfChar".
  2533  func (this SVGTextContentElement) GetStartPositionOfChar(charnum uint32) (ret DOMPoint) {
  2534  	bindings.CallSVGTextContentElementGetStartPositionOfChar(
  2535  		this.ref, js.Pointer(&ret),
  2536  		uint32(charnum),
  2537  	)
  2538  
  2539  	return
  2540  }
  2541  
  2542  // TryGetStartPositionOfChar calls the method "SVGTextContentElement.getStartPositionOfChar"
  2543  // in a try/catch block and returns (_, err, ok = false) when it went through
  2544  // the catch clause.
  2545  func (this SVGTextContentElement) TryGetStartPositionOfChar(charnum uint32) (ret DOMPoint, exception js.Any, ok bool) {
  2546  	ok = js.True == bindings.TrySVGTextContentElementGetStartPositionOfChar(
  2547  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2548  		uint32(charnum),
  2549  	)
  2550  
  2551  	return
  2552  }
  2553  
  2554  // HasFuncGetEndPositionOfChar returns true if the method "SVGTextContentElement.getEndPositionOfChar" exists.
  2555  func (this SVGTextContentElement) HasFuncGetEndPositionOfChar() bool {
  2556  	return js.True == bindings.HasFuncSVGTextContentElementGetEndPositionOfChar(
  2557  		this.ref,
  2558  	)
  2559  }
  2560  
  2561  // FuncGetEndPositionOfChar returns the method "SVGTextContentElement.getEndPositionOfChar".
  2562  func (this SVGTextContentElement) FuncGetEndPositionOfChar() (fn js.Func[func(charnum uint32) DOMPoint]) {
  2563  	bindings.FuncSVGTextContentElementGetEndPositionOfChar(
  2564  		this.ref, js.Pointer(&fn),
  2565  	)
  2566  	return
  2567  }
  2568  
  2569  // GetEndPositionOfChar calls the method "SVGTextContentElement.getEndPositionOfChar".
  2570  func (this SVGTextContentElement) GetEndPositionOfChar(charnum uint32) (ret DOMPoint) {
  2571  	bindings.CallSVGTextContentElementGetEndPositionOfChar(
  2572  		this.ref, js.Pointer(&ret),
  2573  		uint32(charnum),
  2574  	)
  2575  
  2576  	return
  2577  }
  2578  
  2579  // TryGetEndPositionOfChar calls the method "SVGTextContentElement.getEndPositionOfChar"
  2580  // in a try/catch block and returns (_, err, ok = false) when it went through
  2581  // the catch clause.
  2582  func (this SVGTextContentElement) TryGetEndPositionOfChar(charnum uint32) (ret DOMPoint, exception js.Any, ok bool) {
  2583  	ok = js.True == bindings.TrySVGTextContentElementGetEndPositionOfChar(
  2584  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2585  		uint32(charnum),
  2586  	)
  2587  
  2588  	return
  2589  }
  2590  
  2591  // HasFuncGetExtentOfChar returns true if the method "SVGTextContentElement.getExtentOfChar" exists.
  2592  func (this SVGTextContentElement) HasFuncGetExtentOfChar() bool {
  2593  	return js.True == bindings.HasFuncSVGTextContentElementGetExtentOfChar(
  2594  		this.ref,
  2595  	)
  2596  }
  2597  
  2598  // FuncGetExtentOfChar returns the method "SVGTextContentElement.getExtentOfChar".
  2599  func (this SVGTextContentElement) FuncGetExtentOfChar() (fn js.Func[func(charnum uint32) DOMRect]) {
  2600  	bindings.FuncSVGTextContentElementGetExtentOfChar(
  2601  		this.ref, js.Pointer(&fn),
  2602  	)
  2603  	return
  2604  }
  2605  
  2606  // GetExtentOfChar calls the method "SVGTextContentElement.getExtentOfChar".
  2607  func (this SVGTextContentElement) GetExtentOfChar(charnum uint32) (ret DOMRect) {
  2608  	bindings.CallSVGTextContentElementGetExtentOfChar(
  2609  		this.ref, js.Pointer(&ret),
  2610  		uint32(charnum),
  2611  	)
  2612  
  2613  	return
  2614  }
  2615  
  2616  // TryGetExtentOfChar calls the method "SVGTextContentElement.getExtentOfChar"
  2617  // in a try/catch block and returns (_, err, ok = false) when it went through
  2618  // the catch clause.
  2619  func (this SVGTextContentElement) TryGetExtentOfChar(charnum uint32) (ret DOMRect, exception js.Any, ok bool) {
  2620  	ok = js.True == bindings.TrySVGTextContentElementGetExtentOfChar(
  2621  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2622  		uint32(charnum),
  2623  	)
  2624  
  2625  	return
  2626  }
  2627  
  2628  // HasFuncGetRotationOfChar returns true if the method "SVGTextContentElement.getRotationOfChar" exists.
  2629  func (this SVGTextContentElement) HasFuncGetRotationOfChar() bool {
  2630  	return js.True == bindings.HasFuncSVGTextContentElementGetRotationOfChar(
  2631  		this.ref,
  2632  	)
  2633  }
  2634  
  2635  // FuncGetRotationOfChar returns the method "SVGTextContentElement.getRotationOfChar".
  2636  func (this SVGTextContentElement) FuncGetRotationOfChar() (fn js.Func[func(charnum uint32) float32]) {
  2637  	bindings.FuncSVGTextContentElementGetRotationOfChar(
  2638  		this.ref, js.Pointer(&fn),
  2639  	)
  2640  	return
  2641  }
  2642  
  2643  // GetRotationOfChar calls the method "SVGTextContentElement.getRotationOfChar".
  2644  func (this SVGTextContentElement) GetRotationOfChar(charnum uint32) (ret float32) {
  2645  	bindings.CallSVGTextContentElementGetRotationOfChar(
  2646  		this.ref, js.Pointer(&ret),
  2647  		uint32(charnum),
  2648  	)
  2649  
  2650  	return
  2651  }
  2652  
  2653  // TryGetRotationOfChar calls the method "SVGTextContentElement.getRotationOfChar"
  2654  // in a try/catch block and returns (_, err, ok = false) when it went through
  2655  // the catch clause.
  2656  func (this SVGTextContentElement) TryGetRotationOfChar(charnum uint32) (ret float32, exception js.Any, ok bool) {
  2657  	ok = js.True == bindings.TrySVGTextContentElementGetRotationOfChar(
  2658  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2659  		uint32(charnum),
  2660  	)
  2661  
  2662  	return
  2663  }
  2664  
  2665  // HasFuncGetCharNumAtPosition returns true if the method "SVGTextContentElement.getCharNumAtPosition" exists.
  2666  func (this SVGTextContentElement) HasFuncGetCharNumAtPosition() bool {
  2667  	return js.True == bindings.HasFuncSVGTextContentElementGetCharNumAtPosition(
  2668  		this.ref,
  2669  	)
  2670  }
  2671  
  2672  // FuncGetCharNumAtPosition returns the method "SVGTextContentElement.getCharNumAtPosition".
  2673  func (this SVGTextContentElement) FuncGetCharNumAtPosition() (fn js.Func[func(point DOMPointInit) int32]) {
  2674  	bindings.FuncSVGTextContentElementGetCharNumAtPosition(
  2675  		this.ref, js.Pointer(&fn),
  2676  	)
  2677  	return
  2678  }
  2679  
  2680  // GetCharNumAtPosition calls the method "SVGTextContentElement.getCharNumAtPosition".
  2681  func (this SVGTextContentElement) GetCharNumAtPosition(point DOMPointInit) (ret int32) {
  2682  	bindings.CallSVGTextContentElementGetCharNumAtPosition(
  2683  		this.ref, js.Pointer(&ret),
  2684  		js.Pointer(&point),
  2685  	)
  2686  
  2687  	return
  2688  }
  2689  
  2690  // TryGetCharNumAtPosition calls the method "SVGTextContentElement.getCharNumAtPosition"
  2691  // in a try/catch block and returns (_, err, ok = false) when it went through
  2692  // the catch clause.
  2693  func (this SVGTextContentElement) TryGetCharNumAtPosition(point DOMPointInit) (ret int32, exception js.Any, ok bool) {
  2694  	ok = js.True == bindings.TrySVGTextContentElementGetCharNumAtPosition(
  2695  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2696  		js.Pointer(&point),
  2697  	)
  2698  
  2699  	return
  2700  }
  2701  
  2702  // HasFuncGetCharNumAtPosition1 returns true if the method "SVGTextContentElement.getCharNumAtPosition" exists.
  2703  func (this SVGTextContentElement) HasFuncGetCharNumAtPosition1() bool {
  2704  	return js.True == bindings.HasFuncSVGTextContentElementGetCharNumAtPosition1(
  2705  		this.ref,
  2706  	)
  2707  }
  2708  
  2709  // FuncGetCharNumAtPosition1 returns the method "SVGTextContentElement.getCharNumAtPosition".
  2710  func (this SVGTextContentElement) FuncGetCharNumAtPosition1() (fn js.Func[func() int32]) {
  2711  	bindings.FuncSVGTextContentElementGetCharNumAtPosition1(
  2712  		this.ref, js.Pointer(&fn),
  2713  	)
  2714  	return
  2715  }
  2716  
  2717  // GetCharNumAtPosition1 calls the method "SVGTextContentElement.getCharNumAtPosition".
  2718  func (this SVGTextContentElement) GetCharNumAtPosition1() (ret int32) {
  2719  	bindings.CallSVGTextContentElementGetCharNumAtPosition1(
  2720  		this.ref, js.Pointer(&ret),
  2721  	)
  2722  
  2723  	return
  2724  }
  2725  
  2726  // TryGetCharNumAtPosition1 calls the method "SVGTextContentElement.getCharNumAtPosition"
  2727  // in a try/catch block and returns (_, err, ok = false) when it went through
  2728  // the catch clause.
  2729  func (this SVGTextContentElement) TryGetCharNumAtPosition1() (ret int32, exception js.Any, ok bool) {
  2730  	ok = js.True == bindings.TrySVGTextContentElementGetCharNumAtPosition1(
  2731  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2732  	)
  2733  
  2734  	return
  2735  }
  2736  
  2737  // HasFuncSelectSubString returns true if the method "SVGTextContentElement.selectSubString" exists.
  2738  func (this SVGTextContentElement) HasFuncSelectSubString() bool {
  2739  	return js.True == bindings.HasFuncSVGTextContentElementSelectSubString(
  2740  		this.ref,
  2741  	)
  2742  }
  2743  
  2744  // FuncSelectSubString returns the method "SVGTextContentElement.selectSubString".
  2745  func (this SVGTextContentElement) FuncSelectSubString() (fn js.Func[func(charnum uint32, nchars uint32)]) {
  2746  	bindings.FuncSVGTextContentElementSelectSubString(
  2747  		this.ref, js.Pointer(&fn),
  2748  	)
  2749  	return
  2750  }
  2751  
  2752  // SelectSubString calls the method "SVGTextContentElement.selectSubString".
  2753  func (this SVGTextContentElement) SelectSubString(charnum uint32, nchars uint32) (ret js.Void) {
  2754  	bindings.CallSVGTextContentElementSelectSubString(
  2755  		this.ref, js.Pointer(&ret),
  2756  		uint32(charnum),
  2757  		uint32(nchars),
  2758  	)
  2759  
  2760  	return
  2761  }
  2762  
  2763  // TrySelectSubString calls the method "SVGTextContentElement.selectSubString"
  2764  // in a try/catch block and returns (_, err, ok = false) when it went through
  2765  // the catch clause.
  2766  func (this SVGTextContentElement) TrySelectSubString(charnum uint32, nchars uint32) (ret js.Void, exception js.Any, ok bool) {
  2767  	ok = js.True == bindings.TrySVGTextContentElementSelectSubString(
  2768  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2769  		uint32(charnum),
  2770  		uint32(nchars),
  2771  	)
  2772  
  2773  	return
  2774  }
  2775  
  2776  type SVGTextElement struct {
  2777  	SVGTextPositioningElement
  2778  }
  2779  
  2780  func (this SVGTextElement) Once() SVGTextElement {
  2781  	this.ref.Once()
  2782  	return this
  2783  }
  2784  
  2785  func (this SVGTextElement) Ref() js.Ref {
  2786  	return this.SVGTextPositioningElement.Ref()
  2787  }
  2788  
  2789  func (this SVGTextElement) FromRef(ref js.Ref) SVGTextElement {
  2790  	this.SVGTextPositioningElement = this.SVGTextPositioningElement.FromRef(ref)
  2791  	return this
  2792  }
  2793  
  2794  func (this SVGTextElement) Free() {
  2795  	this.ref.Free()
  2796  }
  2797  
  2798  const (
  2799  	SVGTextPathElement_TEXTPATH_METHODTYPE_UNKNOWN  uint16 = 0
  2800  	SVGTextPathElement_TEXTPATH_METHODTYPE_ALIGN    uint16 = 1
  2801  	SVGTextPathElement_TEXTPATH_METHODTYPE_STRETCH  uint16 = 2
  2802  	SVGTextPathElement_TEXTPATH_SPACINGTYPE_UNKNOWN uint16 = 0
  2803  	SVGTextPathElement_TEXTPATH_SPACINGTYPE_AUTO    uint16 = 1
  2804  	SVGTextPathElement_TEXTPATH_SPACINGTYPE_EXACT   uint16 = 2
  2805  )
  2806  
  2807  type SVGTextPathElement struct {
  2808  	SVGTextContentElement
  2809  }
  2810  
  2811  func (this SVGTextPathElement) Once() SVGTextPathElement {
  2812  	this.ref.Once()
  2813  	return this
  2814  }
  2815  
  2816  func (this SVGTextPathElement) Ref() js.Ref {
  2817  	return this.SVGTextContentElement.Ref()
  2818  }
  2819  
  2820  func (this SVGTextPathElement) FromRef(ref js.Ref) SVGTextPathElement {
  2821  	this.SVGTextContentElement = this.SVGTextContentElement.FromRef(ref)
  2822  	return this
  2823  }
  2824  
  2825  func (this SVGTextPathElement) Free() {
  2826  	this.ref.Free()
  2827  }
  2828  
  2829  // StartOffset returns the value of property "SVGTextPathElement.startOffset".
  2830  //
  2831  // It returns ok=false if there is no such property.
  2832  func (this SVGTextPathElement) StartOffset() (ret SVGAnimatedLength, ok bool) {
  2833  	ok = js.True == bindings.GetSVGTextPathElementStartOffset(
  2834  		this.ref, js.Pointer(&ret),
  2835  	)
  2836  	return
  2837  }
  2838  
  2839  // Method returns the value of property "SVGTextPathElement.method".
  2840  //
  2841  // It returns ok=false if there is no such property.
  2842  func (this SVGTextPathElement) Method() (ret SVGAnimatedEnumeration, ok bool) {
  2843  	ok = js.True == bindings.GetSVGTextPathElementMethod(
  2844  		this.ref, js.Pointer(&ret),
  2845  	)
  2846  	return
  2847  }
  2848  
  2849  // Spacing returns the value of property "SVGTextPathElement.spacing".
  2850  //
  2851  // It returns ok=false if there is no such property.
  2852  func (this SVGTextPathElement) Spacing() (ret SVGAnimatedEnumeration, ok bool) {
  2853  	ok = js.True == bindings.GetSVGTextPathElementSpacing(
  2854  		this.ref, js.Pointer(&ret),
  2855  	)
  2856  	return
  2857  }
  2858  
  2859  // Href returns the value of property "SVGTextPathElement.href".
  2860  //
  2861  // It returns ok=false if there is no such property.
  2862  func (this SVGTextPathElement) Href() (ret SVGAnimatedString, ok bool) {
  2863  	ok = js.True == bindings.GetSVGTextPathElementHref(
  2864  		this.ref, js.Pointer(&ret),
  2865  	)
  2866  	return
  2867  }
  2868  
  2869  type SVGTextPositioningElement struct {
  2870  	SVGTextContentElement
  2871  }
  2872  
  2873  func (this SVGTextPositioningElement) Once() SVGTextPositioningElement {
  2874  	this.ref.Once()
  2875  	return this
  2876  }
  2877  
  2878  func (this SVGTextPositioningElement) Ref() js.Ref {
  2879  	return this.SVGTextContentElement.Ref()
  2880  }
  2881  
  2882  func (this SVGTextPositioningElement) FromRef(ref js.Ref) SVGTextPositioningElement {
  2883  	this.SVGTextContentElement = this.SVGTextContentElement.FromRef(ref)
  2884  	return this
  2885  }
  2886  
  2887  func (this SVGTextPositioningElement) Free() {
  2888  	this.ref.Free()
  2889  }
  2890  
  2891  // X returns the value of property "SVGTextPositioningElement.x".
  2892  //
  2893  // It returns ok=false if there is no such property.
  2894  func (this SVGTextPositioningElement) X() (ret SVGAnimatedLengthList, ok bool) {
  2895  	ok = js.True == bindings.GetSVGTextPositioningElementX(
  2896  		this.ref, js.Pointer(&ret),
  2897  	)
  2898  	return
  2899  }
  2900  
  2901  // Y returns the value of property "SVGTextPositioningElement.y".
  2902  //
  2903  // It returns ok=false if there is no such property.
  2904  func (this SVGTextPositioningElement) Y() (ret SVGAnimatedLengthList, ok bool) {
  2905  	ok = js.True == bindings.GetSVGTextPositioningElementY(
  2906  		this.ref, js.Pointer(&ret),
  2907  	)
  2908  	return
  2909  }
  2910  
  2911  // Dx returns the value of property "SVGTextPositioningElement.dx".
  2912  //
  2913  // It returns ok=false if there is no such property.
  2914  func (this SVGTextPositioningElement) Dx() (ret SVGAnimatedLengthList, ok bool) {
  2915  	ok = js.True == bindings.GetSVGTextPositioningElementDx(
  2916  		this.ref, js.Pointer(&ret),
  2917  	)
  2918  	return
  2919  }
  2920  
  2921  // Dy returns the value of property "SVGTextPositioningElement.dy".
  2922  //
  2923  // It returns ok=false if there is no such property.
  2924  func (this SVGTextPositioningElement) Dy() (ret SVGAnimatedLengthList, ok bool) {
  2925  	ok = js.True == bindings.GetSVGTextPositioningElementDy(
  2926  		this.ref, js.Pointer(&ret),
  2927  	)
  2928  	return
  2929  }
  2930  
  2931  // Rotate returns the value of property "SVGTextPositioningElement.rotate".
  2932  //
  2933  // It returns ok=false if there is no such property.
  2934  func (this SVGTextPositioningElement) Rotate() (ret SVGAnimatedNumberList, ok bool) {
  2935  	ok = js.True == bindings.GetSVGTextPositioningElementRotate(
  2936  		this.ref, js.Pointer(&ret),
  2937  	)
  2938  	return
  2939  }
  2940  
  2941  type SVGTitleElement struct {
  2942  	SVGElement
  2943  }
  2944  
  2945  func (this SVGTitleElement) Once() SVGTitleElement {
  2946  	this.ref.Once()
  2947  	return this
  2948  }
  2949  
  2950  func (this SVGTitleElement) Ref() js.Ref {
  2951  	return this.SVGElement.Ref()
  2952  }
  2953  
  2954  func (this SVGTitleElement) FromRef(ref js.Ref) SVGTitleElement {
  2955  	this.SVGElement = this.SVGElement.FromRef(ref)
  2956  	return this
  2957  }
  2958  
  2959  func (this SVGTitleElement) Free() {
  2960  	this.ref.Free()
  2961  }
  2962  
  2963  const (
  2964  	SVGUnitTypes_SVG_UNIT_TYPE_UNKNOWN           uint16 = 0
  2965  	SVGUnitTypes_SVG_UNIT_TYPE_USERSPACEONUSE    uint16 = 1
  2966  	SVGUnitTypes_SVG_UNIT_TYPE_OBJECTBOUNDINGBOX uint16 = 2
  2967  )
  2968  
  2969  type SVGUnitTypes struct {
  2970  	ref js.Ref
  2971  }
  2972  
  2973  func (this SVGUnitTypes) Once() SVGUnitTypes {
  2974  	this.ref.Once()
  2975  	return this
  2976  }
  2977  
  2978  func (this SVGUnitTypes) Ref() js.Ref {
  2979  	return this.ref
  2980  }
  2981  
  2982  func (this SVGUnitTypes) FromRef(ref js.Ref) SVGUnitTypes {
  2983  	this.ref = ref
  2984  	return this
  2985  }
  2986  
  2987  func (this SVGUnitTypes) Free() {
  2988  	this.ref.Free()
  2989  }
  2990  
  2991  type SVGUseElementShadowRoot struct {
  2992  	ShadowRoot
  2993  }
  2994  
  2995  func (this SVGUseElementShadowRoot) Once() SVGUseElementShadowRoot {
  2996  	this.ref.Once()
  2997  	return this
  2998  }
  2999  
  3000  func (this SVGUseElementShadowRoot) Ref() js.Ref {
  3001  	return this.ShadowRoot.Ref()
  3002  }
  3003  
  3004  func (this SVGUseElementShadowRoot) FromRef(ref js.Ref) SVGUseElementShadowRoot {
  3005  	this.ShadowRoot = this.ShadowRoot.FromRef(ref)
  3006  	return this
  3007  }
  3008  
  3009  func (this SVGUseElementShadowRoot) Free() {
  3010  	this.ref.Free()
  3011  }
  3012  
  3013  type SVGViewElement struct {
  3014  	SVGElement
  3015  }
  3016  
  3017  func (this SVGViewElement) Once() SVGViewElement {
  3018  	this.ref.Once()
  3019  	return this
  3020  }
  3021  
  3022  func (this SVGViewElement) Ref() js.Ref {
  3023  	return this.SVGElement.Ref()
  3024  }
  3025  
  3026  func (this SVGViewElement) FromRef(ref js.Ref) SVGViewElement {
  3027  	this.SVGElement = this.SVGElement.FromRef(ref)
  3028  	return this
  3029  }
  3030  
  3031  func (this SVGViewElement) Free() {
  3032  	this.ref.Free()
  3033  }
  3034  
  3035  // ViewBox returns the value of property "SVGViewElement.viewBox".
  3036  //
  3037  // It returns ok=false if there is no such property.
  3038  func (this SVGViewElement) ViewBox() (ret SVGAnimatedRect, ok bool) {
  3039  	ok = js.True == bindings.GetSVGViewElementViewBox(
  3040  		this.ref, js.Pointer(&ret),
  3041  	)
  3042  	return
  3043  }
  3044  
  3045  // PreserveAspectRatio returns the value of property "SVGViewElement.preserveAspectRatio".
  3046  //
  3047  // It returns ok=false if there is no such property.
  3048  func (this SVGViewElement) PreserveAspectRatio() (ret SVGAnimatedPreserveAspectRatio, ok bool) {
  3049  	ok = js.True == bindings.GetSVGViewElementPreserveAspectRatio(
  3050  		this.ref, js.Pointer(&ret),
  3051  	)
  3052  	return
  3053  }
  3054  
  3055  type ScoreAdOutput struct {
  3056  	// Desirability is "ScoreAdOutput.desirability"
  3057  	//
  3058  	// Required
  3059  	Desirability float64
  3060  	// Bid is "ScoreAdOutput.bid"
  3061  	//
  3062  	// Optional
  3063  	//
  3064  	// NOTE: FFI_USE_Bid MUST be set to true to make this field effective.
  3065  	Bid float64
  3066  	// BidCurrency is "ScoreAdOutput.bidCurrency"
  3067  	//
  3068  	// Optional
  3069  	BidCurrency js.String
  3070  	// IncomingBidInSellerCurrency is "ScoreAdOutput.incomingBidInSellerCurrency"
  3071  	//
  3072  	// Optional
  3073  	//
  3074  	// NOTE: FFI_USE_IncomingBidInSellerCurrency MUST be set to true to make this field effective.
  3075  	IncomingBidInSellerCurrency float64
  3076  	// AllowComponentAuction is "ScoreAdOutput.allowComponentAuction"
  3077  	//
  3078  	// Optional, defaults to false.
  3079  	//
  3080  	// NOTE: FFI_USE_AllowComponentAuction MUST be set to true to make this field effective.
  3081  	AllowComponentAuction bool
  3082  
  3083  	FFI_USE_Bid                         bool // for Bid.
  3084  	FFI_USE_IncomingBidInSellerCurrency bool // for IncomingBidInSellerCurrency.
  3085  	FFI_USE_AllowComponentAuction       bool // for AllowComponentAuction.
  3086  
  3087  	FFI_USE bool
  3088  }
  3089  
  3090  // FromRef calls UpdateFrom and returns a ScoreAdOutput with all fields set.
  3091  func (p ScoreAdOutput) FromRef(ref js.Ref) ScoreAdOutput {
  3092  	p.UpdateFrom(ref)
  3093  	return p
  3094  }
  3095  
  3096  // New creates a new ScoreAdOutput in the application heap.
  3097  func (p ScoreAdOutput) New() js.Ref {
  3098  	return bindings.ScoreAdOutputJSLoad(
  3099  		js.Pointer(&p), js.True, 0,
  3100  	)
  3101  }
  3102  
  3103  // UpdateFrom copies value of all fields of the heap object to p.
  3104  func (p *ScoreAdOutput) UpdateFrom(ref js.Ref) {
  3105  	bindings.ScoreAdOutputJSStore(
  3106  		js.Pointer(p), ref,
  3107  	)
  3108  }
  3109  
  3110  // Update writes all fields of the p to the heap object referenced by ref.
  3111  func (p *ScoreAdOutput) Update(ref js.Ref) {
  3112  	bindings.ScoreAdOutputJSLoad(
  3113  		js.Pointer(p), js.False, ref,
  3114  	)
  3115  }
  3116  
  3117  // FreeMembers frees fields with heap reference, if recursive is true
  3118  // free all heap references reachable from p.
  3119  func (p *ScoreAdOutput) FreeMembers(recursive bool) {
  3120  	js.Free(
  3121  		p.BidCurrency.Ref(),
  3122  	)
  3123  	p.BidCurrency = p.BidCurrency.FromRef(js.Undefined)
  3124  }
  3125  
  3126  type ScoringBrowserSignals struct {
  3127  	// TopWindowHostname is "ScoringBrowserSignals.topWindowHostname"
  3128  	//
  3129  	// Required
  3130  	TopWindowHostname js.String
  3131  	// InterestGroupOwner is "ScoringBrowserSignals.interestGroupOwner"
  3132  	//
  3133  	// Required
  3134  	InterestGroupOwner js.String
  3135  	// RenderURL is "ScoringBrowserSignals.renderURL"
  3136  	//
  3137  	// Required
  3138  	RenderURL js.String
  3139  	// BiddingDurationMsec is "ScoringBrowserSignals.biddingDurationMsec"
  3140  	//
  3141  	// Required
  3142  	BiddingDurationMsec uint32
  3143  	// BidCurrency is "ScoringBrowserSignals.bidCurrency"
  3144  	//
  3145  	// Required
  3146  	BidCurrency js.String
  3147  	// DataVersion is "ScoringBrowserSignals.dataVersion"
  3148  	//
  3149  	// Optional
  3150  	//
  3151  	// NOTE: FFI_USE_DataVersion MUST be set to true to make this field effective.
  3152  	DataVersion uint32
  3153  	// AdComponents is "ScoringBrowserSignals.adComponents"
  3154  	//
  3155  	// Optional
  3156  	AdComponents js.Array[js.String]
  3157  
  3158  	FFI_USE_DataVersion bool // for DataVersion.
  3159  
  3160  	FFI_USE bool
  3161  }
  3162  
  3163  // FromRef calls UpdateFrom and returns a ScoringBrowserSignals with all fields set.
  3164  func (p ScoringBrowserSignals) FromRef(ref js.Ref) ScoringBrowserSignals {
  3165  	p.UpdateFrom(ref)
  3166  	return p
  3167  }
  3168  
  3169  // New creates a new ScoringBrowserSignals in the application heap.
  3170  func (p ScoringBrowserSignals) New() js.Ref {
  3171  	return bindings.ScoringBrowserSignalsJSLoad(
  3172  		js.Pointer(&p), js.True, 0,
  3173  	)
  3174  }
  3175  
  3176  // UpdateFrom copies value of all fields of the heap object to p.
  3177  func (p *ScoringBrowserSignals) UpdateFrom(ref js.Ref) {
  3178  	bindings.ScoringBrowserSignalsJSStore(
  3179  		js.Pointer(p), ref,
  3180  	)
  3181  }
  3182  
  3183  // Update writes all fields of the p to the heap object referenced by ref.
  3184  func (p *ScoringBrowserSignals) Update(ref js.Ref) {
  3185  	bindings.ScoringBrowserSignalsJSLoad(
  3186  		js.Pointer(p), js.False, ref,
  3187  	)
  3188  }
  3189  
  3190  // FreeMembers frees fields with heap reference, if recursive is true
  3191  // free all heap references reachable from p.
  3192  func (p *ScoringBrowserSignals) FreeMembers(recursive bool) {
  3193  	js.Free(
  3194  		p.TopWindowHostname.Ref(),
  3195  		p.InterestGroupOwner.Ref(),
  3196  		p.RenderURL.Ref(),
  3197  		p.BidCurrency.Ref(),
  3198  		p.AdComponents.Ref(),
  3199  	)
  3200  	p.TopWindowHostname = p.TopWindowHostname.FromRef(js.Undefined)
  3201  	p.InterestGroupOwner = p.InterestGroupOwner.FromRef(js.Undefined)
  3202  	p.RenderURL = p.RenderURL.FromRef(js.Undefined)
  3203  	p.BidCurrency = p.BidCurrency.FromRef(js.Undefined)
  3204  	p.AdComponents = p.AdComponents.FromRef(js.Undefined)
  3205  }
  3206  
  3207  type ScriptString = js.String
  3208  
  3209  type ScriptURLString = js.String
  3210  
  3211  type ScriptingPolicyReportBody struct {
  3212  	ReportBody
  3213  }
  3214  
  3215  func (this ScriptingPolicyReportBody) Once() ScriptingPolicyReportBody {
  3216  	this.ref.Once()
  3217  	return this
  3218  }
  3219  
  3220  func (this ScriptingPolicyReportBody) Ref() js.Ref {
  3221  	return this.ReportBody.Ref()
  3222  }
  3223  
  3224  func (this ScriptingPolicyReportBody) FromRef(ref js.Ref) ScriptingPolicyReportBody {
  3225  	this.ReportBody = this.ReportBody.FromRef(ref)
  3226  	return this
  3227  }
  3228  
  3229  func (this ScriptingPolicyReportBody) Free() {
  3230  	this.ref.Free()
  3231  }
  3232  
  3233  // ViolationType returns the value of property "ScriptingPolicyReportBody.violationType".
  3234  //
  3235  // It returns ok=false if there is no such property.
  3236  func (this ScriptingPolicyReportBody) ViolationType() (ret js.String, ok bool) {
  3237  	ok = js.True == bindings.GetScriptingPolicyReportBodyViolationType(
  3238  		this.ref, js.Pointer(&ret),
  3239  	)
  3240  	return
  3241  }
  3242  
  3243  // ViolationURL returns the value of property "ScriptingPolicyReportBody.violationURL".
  3244  //
  3245  // It returns ok=false if there is no such property.
  3246  func (this ScriptingPolicyReportBody) ViolationURL() (ret js.String, ok bool) {
  3247  	ok = js.True == bindings.GetScriptingPolicyReportBodyViolationURL(
  3248  		this.ref, js.Pointer(&ret),
  3249  	)
  3250  	return
  3251  }
  3252  
  3253  // ViolationSample returns the value of property "ScriptingPolicyReportBody.violationSample".
  3254  //
  3255  // It returns ok=false if there is no such property.
  3256  func (this ScriptingPolicyReportBody) ViolationSample() (ret js.String, ok bool) {
  3257  	ok = js.True == bindings.GetScriptingPolicyReportBodyViolationSample(
  3258  		this.ref, js.Pointer(&ret),
  3259  	)
  3260  	return
  3261  }
  3262  
  3263  // Lineno returns the value of property "ScriptingPolicyReportBody.lineno".
  3264  //
  3265  // It returns ok=false if there is no such property.
  3266  func (this ScriptingPolicyReportBody) Lineno() (ret uint32, ok bool) {
  3267  	ok = js.True == bindings.GetScriptingPolicyReportBodyLineno(
  3268  		this.ref, js.Pointer(&ret),
  3269  	)
  3270  	return
  3271  }
  3272  
  3273  // Colno returns the value of property "ScriptingPolicyReportBody.colno".
  3274  //
  3275  // It returns ok=false if there is no such property.
  3276  func (this ScriptingPolicyReportBody) Colno() (ret uint32, ok bool) {
  3277  	ok = js.True == bindings.GetScriptingPolicyReportBodyColno(
  3278  		this.ref, js.Pointer(&ret),
  3279  	)
  3280  	return
  3281  }
  3282  
  3283  // HasFuncToJSON returns true if the method "ScriptingPolicyReportBody.toJSON" exists.
  3284  func (this ScriptingPolicyReportBody) HasFuncToJSON() bool {
  3285  	return js.True == bindings.HasFuncScriptingPolicyReportBodyToJSON(
  3286  		this.ref,
  3287  	)
  3288  }
  3289  
  3290  // FuncToJSON returns the method "ScriptingPolicyReportBody.toJSON".
  3291  func (this ScriptingPolicyReportBody) FuncToJSON() (fn js.Func[func() js.Object]) {
  3292  	bindings.FuncScriptingPolicyReportBodyToJSON(
  3293  		this.ref, js.Pointer(&fn),
  3294  	)
  3295  	return
  3296  }
  3297  
  3298  // ToJSON calls the method "ScriptingPolicyReportBody.toJSON".
  3299  func (this ScriptingPolicyReportBody) ToJSON() (ret js.Object) {
  3300  	bindings.CallScriptingPolicyReportBodyToJSON(
  3301  		this.ref, js.Pointer(&ret),
  3302  	)
  3303  
  3304  	return
  3305  }
  3306  
  3307  // TryToJSON calls the method "ScriptingPolicyReportBody.toJSON"
  3308  // in a try/catch block and returns (_, err, ok = false) when it went through
  3309  // the catch clause.
  3310  func (this ScriptingPolicyReportBody) TryToJSON() (ret js.Object, exception js.Any, ok bool) {
  3311  	ok = js.True == bindings.TryScriptingPolicyReportBodyToJSON(
  3312  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3313  	)
  3314  
  3315  	return
  3316  }
  3317  
  3318  type ScriptingPolicyViolationType uint32
  3319  
  3320  const (
  3321  	_ ScriptingPolicyViolationType = iota
  3322  
  3323  	ScriptingPolicyViolationType_EXTERNAL_SCRIPT
  3324  	ScriptingPolicyViolationType_INLINE_SCRIPT
  3325  	ScriptingPolicyViolationType_INLINE_EVENT_HANDLER
  3326  	ScriptingPolicyViolationType_EVAL
  3327  )
  3328  
  3329  func (ScriptingPolicyViolationType) FromRef(str js.Ref) ScriptingPolicyViolationType {
  3330  	return ScriptingPolicyViolationType(bindings.ConstOfScriptingPolicyViolationType(str))
  3331  }
  3332  
  3333  func (x ScriptingPolicyViolationType) String() (string, bool) {
  3334  	switch x {
  3335  	case ScriptingPolicyViolationType_EXTERNAL_SCRIPT:
  3336  		return "externalScript", true
  3337  	case ScriptingPolicyViolationType_INLINE_SCRIPT:
  3338  		return "inlineScript", true
  3339  	case ScriptingPolicyViolationType_INLINE_EVENT_HANDLER:
  3340  		return "inlineEventHandler", true
  3341  	case ScriptingPolicyViolationType_EVAL:
  3342  		return "eval", true
  3343  	default:
  3344  		return "", false
  3345  	}
  3346  }
  3347  
  3348  type ScrollAxis uint32
  3349  
  3350  const (
  3351  	_ ScrollAxis = iota
  3352  
  3353  	ScrollAxis_BLOCK
  3354  	ScrollAxis_INLINE
  3355  	ScrollAxis_X
  3356  	ScrollAxis_Y
  3357  )
  3358  
  3359  func (ScrollAxis) FromRef(str js.Ref) ScrollAxis {
  3360  	return ScrollAxis(bindings.ConstOfScrollAxis(str))
  3361  }
  3362  
  3363  func (x ScrollAxis) String() (string, bool) {
  3364  	switch x {
  3365  	case ScrollAxis_BLOCK:
  3366  		return "block", true
  3367  	case ScrollAxis_INLINE:
  3368  		return "inline", true
  3369  	case ScrollAxis_X:
  3370  		return "x", true
  3371  	case ScrollAxis_Y:
  3372  		return "y", true
  3373  	default:
  3374  		return "", false
  3375  	}
  3376  }