func (_this *PaintRenderingContext2D) GlobalCompositeOperation() string {
	var ret string
	value := _this.Value_JS.Get("globalCompositeOperation")
	ret = (value).String()
	return ret
}
GlobalCompositeOperation returning attribute 'globalCompositeOperation' with
type string (idl: DOMString).
package paint
import "syscall/js"
import (
	"github.com/gowebapi/webapi/core/jsarray"
	"github.com/gowebapi/webapi/dom/geometry"
	"github.com/gowebapi/webapi/html/canvas"
	"github.com/gowebapi/webapi/webidl"
	"github.com/gowebapi/webapi/worklets"
)
func unused(value interface{}) {
}
type Union struct {
	Value js.Value
}
func (u *Union) JSValue() js.Value {
	return u.Value
}
func UnionFromJS(value js.Value) *Union {
	return &Union{Value: value}
}
type PaintRenderingContext2DSettings struct {
	Alpha bool
}
func (_this *PaintRenderingContext2DSettings) JSValue() js.Value {
	out := js.Global().Get("Object").New()
	value0 := _this.Alpha
	out.Set("alpha", value0)
	return out
}
func PaintRenderingContext2DSettingsFromJS(value js.Wrapper) *PaintRenderingContext2DSettings {
	input := value.JSValue()
	var out PaintRenderingContext2DSettings
	var (
		value0 bool  
	)
	value0 = (input.Get("alpha")).Bool()
	out.Alpha = value0
	return &out
}
type PaintRenderingContext2D struct {
	Value_JS js.Value
}
func (_this *PaintRenderingContext2D) JSValue() js.Value {
	return _this.Value_JS
}
func PaintRenderingContext2DFromJS(value js.Wrapper) *PaintRenderingContext2D {
	input := value.JSValue()
	if typ := input.Type(); typ == js.TypeNull || typ == js.TypeUndefined {
		return nil
	}
	ret := &PaintRenderingContext2D{}
	ret.Value_JS = input
	return ret
}
func (_this *PaintRenderingContext2D) GlobalAlpha() float64 {
	var ret float64
	value := _this.Value_JS.Get("globalAlpha")
	ret = (value).Float()
	return ret
}
func (_this *PaintRenderingContext2D) SetGlobalAlpha(value float64) {
	input := value
	_this.Value_JS.Set("globalAlpha", input)
}