webapi: github.com/gowebapi/webapi/dom/geometry Index | Files

package geometry

import "github.com/gowebapi/webapi/dom/geometry"

Package geometry provides basic geometric interfaces to represent points, rectangles, quadrilaterals and transformation matrices.

Index

Package Files

doc.go geometry.go

type DOMMatrix Uses

type DOMMatrix struct {
    DOMMatrixReadOnly
}

class: DOMMatrix

func DOMMatrixFromJS Uses

func DOMMatrixFromJS(value js.Wrapper) *DOMMatrix

DOMMatrixFromJS is casting a js.Wrapper into DOMMatrix.

func FromFloat32Array Uses

func FromFloat32Array(array32 *javascript.Float32Array) (_result *DOMMatrix)

func FromFloat64Array Uses

func FromFloat64Array(array64 *javascript.Float64Array) (_result *DOMMatrix)

func FromMatrix Uses

func FromMatrix(other *DOMMatrixInit) (_result *DOMMatrix)

func NewDOMMatrix Uses

func NewDOMMatrix(init *Union) (_result *DOMMatrix)

func (*DOMMatrix) A Uses

func (_this *DOMMatrix) A() float64

A returning attribute 'a' with type float64 (idl: unrestricted double).

func (*DOMMatrix) B Uses

func (_this *DOMMatrix) B() float64

B returning attribute 'b' with type float64 (idl: unrestricted double).

func (*DOMMatrix) C Uses

func (_this *DOMMatrix) C() float64

C returning attribute 'c' with type float64 (idl: unrestricted double).

func (*DOMMatrix) D Uses

func (_this *DOMMatrix) D() float64

D returning attribute 'd' with type float64 (idl: unrestricted double).

func (*DOMMatrix) E Uses

func (_this *DOMMatrix) E() float64

E returning attribute 'e' with type float64 (idl: unrestricted double).

func (*DOMMatrix) F Uses

func (_this *DOMMatrix) F() float64

F returning attribute 'f' with type float64 (idl: unrestricted double).

func (*DOMMatrix) InvertSelf Uses

func (_this *DOMMatrix) InvertSelf() (_result *DOMMatrix)

func (*DOMMatrix) M11 Uses

func (_this *DOMMatrix) M11() float64

M11 returning attribute 'm11' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M12 Uses

func (_this *DOMMatrix) M12() float64

M12 returning attribute 'm12' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M13 Uses

func (_this *DOMMatrix) M13() float64

M13 returning attribute 'm13' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M14 Uses

func (_this *DOMMatrix) M14() float64

M14 returning attribute 'm14' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M21 Uses

func (_this *DOMMatrix) M21() float64

M21 returning attribute 'm21' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M22 Uses

func (_this *DOMMatrix) M22() float64

M22 returning attribute 'm22' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M23 Uses

func (_this *DOMMatrix) M23() float64

M23 returning attribute 'm23' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M24 Uses

func (_this *DOMMatrix) M24() float64

M24 returning attribute 'm24' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M31 Uses

func (_this *DOMMatrix) M31() float64

M31 returning attribute 'm31' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M32 Uses

func (_this *DOMMatrix) M32() float64

M32 returning attribute 'm32' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M33 Uses

func (_this *DOMMatrix) M33() float64

M33 returning attribute 'm33' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M34 Uses

func (_this *DOMMatrix) M34() float64

M34 returning attribute 'm34' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M41 Uses

func (_this *DOMMatrix) M41() float64

M41 returning attribute 'm41' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M42 Uses

func (_this *DOMMatrix) M42() float64

M42 returning attribute 'm42' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M43 Uses

func (_this *DOMMatrix) M43() float64

M43 returning attribute 'm43' with type float64 (idl: unrestricted double).

func (*DOMMatrix) M44 Uses

func (_this *DOMMatrix) M44() float64

M44 returning attribute 'm44' with type float64 (idl: unrestricted double).

func (*DOMMatrix) MultiplySelf Uses

func (_this *DOMMatrix) MultiplySelf(other *DOMMatrixInit) (_result *DOMMatrix)

func (*DOMMatrix) PreMultiplySelf Uses

func (_this *DOMMatrix) PreMultiplySelf(other *DOMMatrixInit) (_result *DOMMatrix)

func (*DOMMatrix) RotateAxisAngleSelf Uses

func (_this *DOMMatrix) RotateAxisAngleSelf(x *float64, y *float64, z *float64, angle *float64) (_result *DOMMatrix)

func (*DOMMatrix) RotateFromVectorSelf Uses

func (_this *DOMMatrix) RotateFromVectorSelf(x *float64, y *float64) (_result *DOMMatrix)

func (*DOMMatrix) RotateSelf Uses

func (_this *DOMMatrix) RotateSelf(rotX *float64, rotY *float64, rotZ *float64) (_result *DOMMatrix)

func (*DOMMatrix) Scale3dSelf Uses

func (_this *DOMMatrix) Scale3dSelf(scale *float64, originX *float64, originY *float64, originZ *float64) (_result *DOMMatrix)

func (*DOMMatrix) ScaleSelf Uses

func (_this *DOMMatrix) ScaleSelf(scaleX *float64, scaleY *float64, scaleZ *float64, originX *float64, originY *float64, originZ *float64) (_result *DOMMatrix)

func (*DOMMatrix) SetA Uses

func (_this *DOMMatrix) SetA(value float64)

SetA setting attribute 'a' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetB Uses

func (_this *DOMMatrix) SetB(value float64)

SetB setting attribute 'b' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetC Uses

func (_this *DOMMatrix) SetC(value float64)

SetC setting attribute 'c' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetD Uses

func (_this *DOMMatrix) SetD(value float64)

SetD setting attribute 'd' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetE Uses

func (_this *DOMMatrix) SetE(value float64)

SetE setting attribute 'e' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetF Uses

func (_this *DOMMatrix) SetF(value float64)

SetF setting attribute 'f' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM11 Uses

func (_this *DOMMatrix) SetM11(value float64)

SetM11 setting attribute 'm11' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM12 Uses

func (_this *DOMMatrix) SetM12(value float64)

SetM12 setting attribute 'm12' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM13 Uses

func (_this *DOMMatrix) SetM13(value float64)

SetM13 setting attribute 'm13' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM14 Uses

func (_this *DOMMatrix) SetM14(value float64)

SetM14 setting attribute 'm14' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM21 Uses

func (_this *DOMMatrix) SetM21(value float64)

SetM21 setting attribute 'm21' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM22 Uses

func (_this *DOMMatrix) SetM22(value float64)

SetM22 setting attribute 'm22' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM23 Uses

func (_this *DOMMatrix) SetM23(value float64)

SetM23 setting attribute 'm23' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM24 Uses

func (_this *DOMMatrix) SetM24(value float64)

SetM24 setting attribute 'm24' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM31 Uses

func (_this *DOMMatrix) SetM31(value float64)

SetM31 setting attribute 'm31' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM32 Uses

func (_this *DOMMatrix) SetM32(value float64)

SetM32 setting attribute 'm32' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM33 Uses

func (_this *DOMMatrix) SetM33(value float64)

SetM33 setting attribute 'm33' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM34 Uses

func (_this *DOMMatrix) SetM34(value float64)

SetM34 setting attribute 'm34' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM41 Uses

func (_this *DOMMatrix) SetM41(value float64)

SetM41 setting attribute 'm41' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM42 Uses

func (_this *DOMMatrix) SetM42(value float64)

SetM42 setting attribute 'm42' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM43 Uses

func (_this *DOMMatrix) SetM43(value float64)

SetM43 setting attribute 'm43' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetM44 Uses

func (_this *DOMMatrix) SetM44(value float64)

SetM44 setting attribute 'm44' with type float64 (idl: unrestricted double).

func (*DOMMatrix) SetMatrixValue Uses

func (_this *DOMMatrix) SetMatrixValue(transformList string) (_result *DOMMatrix)

func (*DOMMatrix) SkewXSelf Uses

func (_this *DOMMatrix) SkewXSelf(sx *float64) (_result *DOMMatrix)

func (*DOMMatrix) SkewYSelf Uses

func (_this *DOMMatrix) SkewYSelf(sy *float64) (_result *DOMMatrix)

func (*DOMMatrix) TranslateSelf Uses

func (_this *DOMMatrix) TranslateSelf(tx *float64, ty *float64, tz *float64) (_result *DOMMatrix)

type DOMMatrix2DInit Uses

type DOMMatrix2DInit struct {
    A   float64
    B   float64
    C   float64
    D   float64
    E   float64
    F   float64
    M11 float64
    M12 float64
    M21 float64
    M22 float64
    M41 float64
    M42 float64
}

dictionary: DOMMatrix2DInit

func DOMMatrix2DInitFromJS Uses

func DOMMatrix2DInitFromJS(value js.Wrapper) *DOMMatrix2DInit

DOMMatrix2DInitFromJS is allocating a new DOMMatrix2DInit object and copy all values from input javascript object

func (*DOMMatrix2DInit) JSValue Uses

func (_this *DOMMatrix2DInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type DOMMatrixInit Uses

type DOMMatrixInit struct {
    A    float64
    B    float64
    C    float64
    D    float64
    E    float64
    F    float64
    M11  float64
    M12  float64
    M21  float64
    M22  float64
    M41  float64
    M42  float64
    M13  float64
    M14  float64
    M23  float64
    M24  float64
    M31  float64
    M32  float64
    M33  float64
    M34  float64
    M43  float64
    M44  float64
    Is2D bool
}

dictionary: DOMMatrixInit

func DOMMatrixInitFromJS Uses

func DOMMatrixInitFromJS(value js.Wrapper) *DOMMatrixInit

DOMMatrixInitFromJS is allocating a new DOMMatrixInit object and copy all values from input javascript object

func (*DOMMatrixInit) JSValue Uses

func (_this *DOMMatrixInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type DOMMatrixReadOnly Uses

type DOMMatrixReadOnly struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: DOMMatrixReadOnly

func DOMMatrixReadOnlyFromJS Uses

func DOMMatrixReadOnlyFromJS(value js.Wrapper) *DOMMatrixReadOnly

DOMMatrixReadOnlyFromJS is casting a js.Wrapper into DOMMatrixReadOnly.

func FromFloat32Array2 Uses

func FromFloat32Array2(array32 *javascript.Float32Array) (_result *DOMMatrixReadOnly)

func FromFloat64Array2 Uses

func FromFloat64Array2(array64 *javascript.Float64Array) (_result *DOMMatrixReadOnly)

func FromMatrix2 Uses

func FromMatrix2(other *DOMMatrixInit) (_result *DOMMatrixReadOnly)

func NewDOMMatrixReadOnly Uses

func NewDOMMatrixReadOnly(init *Union) (_result *DOMMatrixReadOnly)

func (*DOMMatrixReadOnly) A Uses

func (_this *DOMMatrixReadOnly) A() float64

A returning attribute 'a' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) B Uses

func (_this *DOMMatrixReadOnly) B() float64

B returning attribute 'b' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) C Uses

func (_this *DOMMatrixReadOnly) C() float64

C returning attribute 'c' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) D Uses

func (_this *DOMMatrixReadOnly) D() float64

D returning attribute 'd' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) E Uses

func (_this *DOMMatrixReadOnly) E() float64

E returning attribute 'e' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) F Uses

func (_this *DOMMatrixReadOnly) F() float64

F returning attribute 'f' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) FlipX Uses

func (_this *DOMMatrixReadOnly) FlipX() (_result *DOMMatrix)

func (*DOMMatrixReadOnly) FlipY Uses

func (_this *DOMMatrixReadOnly) FlipY() (_result *DOMMatrix)

func (*DOMMatrixReadOnly) Inverse Uses

func (_this *DOMMatrixReadOnly) Inverse() (_result *DOMMatrix)

func (*DOMMatrixReadOnly) Is2D Uses

func (_this *DOMMatrixReadOnly) Is2D() bool

Is2D returning attribute 'is2D' with type bool (idl: boolean).

func (*DOMMatrixReadOnly) IsIdentity Uses

func (_this *DOMMatrixReadOnly) IsIdentity() bool

IsIdentity returning attribute 'isIdentity' with type bool (idl: boolean).

func (*DOMMatrixReadOnly) JSValue Uses

func (_this *DOMMatrixReadOnly) JSValue() js.Value

func (*DOMMatrixReadOnly) M11 Uses

func (_this *DOMMatrixReadOnly) M11() float64

M11 returning attribute 'm11' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M12 Uses

func (_this *DOMMatrixReadOnly) M12() float64

M12 returning attribute 'm12' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M13 Uses

func (_this *DOMMatrixReadOnly) M13() float64

M13 returning attribute 'm13' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M14 Uses

func (_this *DOMMatrixReadOnly) M14() float64

M14 returning attribute 'm14' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M21 Uses

func (_this *DOMMatrixReadOnly) M21() float64

M21 returning attribute 'm21' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M22 Uses

func (_this *DOMMatrixReadOnly) M22() float64

M22 returning attribute 'm22' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M23 Uses

func (_this *DOMMatrixReadOnly) M23() float64

M23 returning attribute 'm23' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M24 Uses

func (_this *DOMMatrixReadOnly) M24() float64

M24 returning attribute 'm24' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M31 Uses

func (_this *DOMMatrixReadOnly) M31() float64

M31 returning attribute 'm31' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M32 Uses

func (_this *DOMMatrixReadOnly) M32() float64

M32 returning attribute 'm32' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M33 Uses

func (_this *DOMMatrixReadOnly) M33() float64

M33 returning attribute 'm33' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M34 Uses

func (_this *DOMMatrixReadOnly) M34() float64

M34 returning attribute 'm34' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M41 Uses

func (_this *DOMMatrixReadOnly) M41() float64

M41 returning attribute 'm41' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M42 Uses

func (_this *DOMMatrixReadOnly) M42() float64

M42 returning attribute 'm42' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M43 Uses

func (_this *DOMMatrixReadOnly) M43() float64

M43 returning attribute 'm43' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) M44 Uses

func (_this *DOMMatrixReadOnly) M44() float64

M44 returning attribute 'm44' with type float64 (idl: unrestricted double).

func (*DOMMatrixReadOnly) Multiply Uses

func (_this *DOMMatrixReadOnly) Multiply(other *DOMMatrixInit) (_result *DOMMatrix)

func (*DOMMatrixReadOnly) Rotate Uses

func (_this *DOMMatrixReadOnly) Rotate(rotX *float64, rotY *float64, rotZ *float64) (_result *DOMMatrix)

func (*DOMMatrixReadOnly) RotateAxisAngle Uses

func (_this *DOMMatrixReadOnly) RotateAxisAngle(x *float64, y *float64, z *float64, angle *float64) (_result *DOMMatrix)

func (*DOMMatrixReadOnly) RotateFromVector Uses

func (_this *DOMMatrixReadOnly) RotateFromVector(x *float64, y *float64) (_result *DOMMatrix)

func (*DOMMatrixReadOnly) Scale Uses

func (_this *DOMMatrixReadOnly) Scale(scaleX *float64, scaleY *float64, scaleZ *float64, originX *float64, originY *float64, originZ *float64) (_result *DOMMatrix)

func (*DOMMatrixReadOnly) Scale3d Uses

func (_this *DOMMatrixReadOnly) Scale3d(scale *float64, originX *float64, originY *float64, originZ *float64) (_result *DOMMatrix)

func (*DOMMatrixReadOnly) ScaleNonUniform Uses

func (_this *DOMMatrixReadOnly) ScaleNonUniform(scaleX *float64, scaleY *float64) (_result *DOMMatrix)

func (*DOMMatrixReadOnly) SkewX Uses

func (_this *DOMMatrixReadOnly) SkewX(sx *float64) (_result *DOMMatrix)

func (*DOMMatrixReadOnly) SkewY Uses

func (_this *DOMMatrixReadOnly) SkewY(sy *float64) (_result *DOMMatrix)

func (*DOMMatrixReadOnly) ToFloat32Array Uses

func (_this *DOMMatrixReadOnly) ToFloat32Array() (_result *javascript.Float32Array)

func (*DOMMatrixReadOnly) ToFloat64Array Uses

func (_this *DOMMatrixReadOnly) ToFloat64Array() (_result *javascript.Float64Array)

func (*DOMMatrixReadOnly) ToJSON Uses

func (_this *DOMMatrixReadOnly) ToJSON() (_result *javascript.Object)

func (*DOMMatrixReadOnly) ToString Uses

func (_this *DOMMatrixReadOnly) ToString() (_result string)

func (*DOMMatrixReadOnly) TransformPoint Uses

func (_this *DOMMatrixReadOnly) TransformPoint(point *DOMPointInit) (_result *DOMPoint)

func (*DOMMatrixReadOnly) Translate Uses

func (_this *DOMMatrixReadOnly) Translate(tx *float64, ty *float64, tz *float64) (_result *DOMMatrix)

type DOMPoint Uses

type DOMPoint struct {
    DOMPointReadOnly
}

class: DOMPoint

func DOMPointFromJS Uses

func DOMPointFromJS(value js.Wrapper) *DOMPoint

DOMPointFromJS is casting a js.Wrapper into DOMPoint.

func FromPoint Uses

func FromPoint(other *DOMPointInit) (_result *DOMPoint)

func NewDOMPoint Uses

func NewDOMPoint(x *float64, y *float64, z *float64, w *float64) (_result *DOMPoint)

func (*DOMPoint) SetW Uses

func (_this *DOMPoint) SetW(value float64)

SetW setting attribute 'w' with type float64 (idl: unrestricted double).

func (*DOMPoint) SetX Uses

func (_this *DOMPoint) SetX(value float64)

SetX setting attribute 'x' with type float64 (idl: unrestricted double).

func (*DOMPoint) SetY Uses

func (_this *DOMPoint) SetY(value float64)

SetY setting attribute 'y' with type float64 (idl: unrestricted double).

func (*DOMPoint) SetZ Uses

func (_this *DOMPoint) SetZ(value float64)

SetZ setting attribute 'z' with type float64 (idl: unrestricted double).

func (*DOMPoint) W Uses

func (_this *DOMPoint) W() float64

W returning attribute 'w' with type float64 (idl: unrestricted double).

func (*DOMPoint) X Uses

func (_this *DOMPoint) X() float64

X returning attribute 'x' with type float64 (idl: unrestricted double).

func (*DOMPoint) Y Uses

func (_this *DOMPoint) Y() float64

Y returning attribute 'y' with type float64 (idl: unrestricted double).

func (*DOMPoint) Z Uses

func (_this *DOMPoint) Z() float64

Z returning attribute 'z' with type float64 (idl: unrestricted double).

type DOMPointInit Uses

type DOMPointInit struct {
    X   float64
    Y   float64
    Z   float64
    W   float64
}

dictionary: DOMPointInit

func DOMPointInitFromJS Uses

func DOMPointInitFromJS(value js.Wrapper) *DOMPointInit

DOMPointInitFromJS is allocating a new DOMPointInit object and copy all values from input javascript object

func (*DOMPointInit) JSValue Uses

func (_this *DOMPointInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type DOMPointReadOnly Uses

type DOMPointReadOnly struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: DOMPointReadOnly

func DOMPointReadOnlyFromJS Uses

func DOMPointReadOnlyFromJS(value js.Wrapper) *DOMPointReadOnly

DOMPointReadOnlyFromJS is casting a js.Wrapper into DOMPointReadOnly.

func FromPoint2 Uses

func FromPoint2(other *DOMPointInit) (_result *DOMPointReadOnly)

func NewDOMPointReadOnly Uses

func NewDOMPointReadOnly(x *float64, y *float64, z *float64, w *float64) (_result *DOMPointReadOnly)

func (*DOMPointReadOnly) JSValue Uses

func (_this *DOMPointReadOnly) JSValue() js.Value

func (*DOMPointReadOnly) MatrixTransform Uses

func (_this *DOMPointReadOnly) MatrixTransform(matrix *DOMMatrixInit) (_result *DOMPoint)

func (*DOMPointReadOnly) ToJSON Uses

func (_this *DOMPointReadOnly) ToJSON() (_result *javascript.Object)

func (*DOMPointReadOnly) W Uses

func (_this *DOMPointReadOnly) W() float64

W returning attribute 'w' with type float64 (idl: unrestricted double).

func (*DOMPointReadOnly) X Uses

func (_this *DOMPointReadOnly) X() float64

X returning attribute 'x' with type float64 (idl: unrestricted double).

func (*DOMPointReadOnly) Y Uses

func (_this *DOMPointReadOnly) Y() float64

Y returning attribute 'y' with type float64 (idl: unrestricted double).

func (*DOMPointReadOnly) Z Uses

func (_this *DOMPointReadOnly) Z() float64

Z returning attribute 'z' with type float64 (idl: unrestricted double).

type DOMQuad Uses

type DOMQuad struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: DOMQuad

func DOMQuadFromJS Uses

func DOMQuadFromJS(value js.Wrapper) *DOMQuad

DOMQuadFromJS is casting a js.Wrapper into DOMQuad.

func FromQuad Uses

func FromQuad(other *DOMQuadInit) (_result *DOMQuad)

func FromRect Uses

func FromRect(other *DOMRectInit) (_result *DOMQuad)

func NewDOMQuad Uses

func NewDOMQuad(p1 *DOMPointInit, p2 *DOMPointInit, p3 *DOMPointInit, p4 *DOMPointInit) (_result *DOMQuad)

func (*DOMQuad) GetBounds Uses

func (_this *DOMQuad) GetBounds() (_result *DOMRect)

func (*DOMQuad) JSValue Uses

func (_this *DOMQuad) JSValue() js.Value

func (*DOMQuad) P1 Uses

func (_this *DOMQuad) P1() *DOMPoint

P1 returning attribute 'p1' with type DOMPoint (idl: DOMPoint).

func (*DOMQuad) P2 Uses

func (_this *DOMQuad) P2() *DOMPoint

P2 returning attribute 'p2' with type DOMPoint (idl: DOMPoint).

func (*DOMQuad) P3 Uses

func (_this *DOMQuad) P3() *DOMPoint

P3 returning attribute 'p3' with type DOMPoint (idl: DOMPoint).

func (*DOMQuad) P4 Uses

func (_this *DOMQuad) P4() *DOMPoint

P4 returning attribute 'p4' with type DOMPoint (idl: DOMPoint).

func (*DOMQuad) ToJSON Uses

func (_this *DOMQuad) ToJSON() (_result *javascript.Object)

type DOMQuadInit Uses

type DOMQuadInit struct {
    P1  *DOMPointInit
    P2  *DOMPointInit
    P3  *DOMPointInit
    P4  *DOMPointInit
}

dictionary: DOMQuadInit

func DOMQuadInitFromJS Uses

func DOMQuadInitFromJS(value js.Wrapper) *DOMQuadInit

DOMQuadInitFromJS is allocating a new DOMQuadInit object and copy all values from input javascript object

func (*DOMQuadInit) JSValue Uses

func (_this *DOMQuadInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type DOMRect Uses

type DOMRect struct {
    DOMRectReadOnly
}

class: DOMRect

func DOMRectFromJS Uses

func DOMRectFromJS(value js.Wrapper) *DOMRect

DOMRectFromJS is casting a js.Wrapper into DOMRect.

func FromRect2 Uses

func FromRect2(other *DOMRectInit) (_result *DOMRect)

func NewDOMRect Uses

func NewDOMRect(x *float64, y *float64, width *float64, height *float64) (_result *DOMRect)

func (*DOMRect) Height Uses

func (_this *DOMRect) Height() float64

Height returning attribute 'height' with type float64 (idl: unrestricted double).

func (*DOMRect) SetHeight Uses

func (_this *DOMRect) SetHeight(value float64)

SetHeight setting attribute 'height' with type float64 (idl: unrestricted double).

func (*DOMRect) SetWidth Uses

func (_this *DOMRect) SetWidth(value float64)

SetWidth setting attribute 'width' with type float64 (idl: unrestricted double).

func (*DOMRect) SetX Uses

func (_this *DOMRect) SetX(value float64)

SetX setting attribute 'x' with type float64 (idl: unrestricted double).

func (*DOMRect) SetY Uses

func (_this *DOMRect) SetY(value float64)

SetY setting attribute 'y' with type float64 (idl: unrestricted double).

func (*DOMRect) Width Uses

func (_this *DOMRect) Width() float64

Width returning attribute 'width' with type float64 (idl: unrestricted double).

func (*DOMRect) X Uses

func (_this *DOMRect) X() float64

X returning attribute 'x' with type float64 (idl: unrestricted double).

func (*DOMRect) Y Uses

func (_this *DOMRect) Y() float64

Y returning attribute 'y' with type float64 (idl: unrestricted double).

type DOMRectInit Uses

type DOMRectInit struct {
    X      float64
    Y      float64
    Width  float64
    Height float64
}

dictionary: DOMRectInit

func DOMRectInitFromJS Uses

func DOMRectInitFromJS(value js.Wrapper) *DOMRectInit

DOMRectInitFromJS is allocating a new DOMRectInit object and copy all values from input javascript object

func (*DOMRectInit) JSValue Uses

func (_this *DOMRectInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type DOMRectList Uses

type DOMRectList struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: DOMRectList

func DOMRectListFromJS Uses

func DOMRectListFromJS(value js.Wrapper) *DOMRectList

DOMRectListFromJS is casting a js.Wrapper into DOMRectList.

func (*DOMRectList) Index Uses

func (_this *DOMRectList) Index(index uint) (_result *DOMRect)

func (*DOMRectList) Item Uses

func (_this *DOMRectList) Item(index uint) (_result *DOMRect)

func (*DOMRectList) JSValue Uses

func (_this *DOMRectList) JSValue() js.Value

func (*DOMRectList) Length Uses

func (_this *DOMRectList) Length() uint

Length returning attribute 'length' with type uint (idl: unsigned long).

type DOMRectReadOnly Uses

type DOMRectReadOnly struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: DOMRectReadOnly

func DOMRectReadOnlyFromJS Uses

func DOMRectReadOnlyFromJS(value js.Wrapper) *DOMRectReadOnly

DOMRectReadOnlyFromJS is casting a js.Wrapper into DOMRectReadOnly.

func FromRect3 Uses

func FromRect3(other *DOMRectInit) (_result *DOMRectReadOnly)

func NewDOMRectReadOnly Uses

func NewDOMRectReadOnly(x *float64, y *float64, width *float64, height *float64) (_result *DOMRectReadOnly)

func (*DOMRectReadOnly) Bottom Uses

func (_this *DOMRectReadOnly) Bottom() float64

Bottom returning attribute 'bottom' with type float64 (idl: unrestricted double).

func (*DOMRectReadOnly) Height Uses

func (_this *DOMRectReadOnly) Height() float64

Height returning attribute 'height' with type float64 (idl: unrestricted double).

func (*DOMRectReadOnly) JSValue Uses

func (_this *DOMRectReadOnly) JSValue() js.Value

func (*DOMRectReadOnly) Left Uses

func (_this *DOMRectReadOnly) Left() float64

Left returning attribute 'left' with type float64 (idl: unrestricted double).

func (*DOMRectReadOnly) Right Uses

func (_this *DOMRectReadOnly) Right() float64

Right returning attribute 'right' with type float64 (idl: unrestricted double).

func (*DOMRectReadOnly) ToJSON Uses

func (_this *DOMRectReadOnly) ToJSON() (_result *javascript.Object)

func (*DOMRectReadOnly) Top Uses

func (_this *DOMRectReadOnly) Top() float64

Top returning attribute 'top' with type float64 (idl: unrestricted double).

func (*DOMRectReadOnly) Width Uses

func (_this *DOMRectReadOnly) Width() float64

Width returning attribute 'width' with type float64 (idl: unrestricted double).

func (*DOMRectReadOnly) X Uses

func (_this *DOMRectReadOnly) X() float64

X returning attribute 'x' with type float64 (idl: unrestricted double).

func (*DOMRectReadOnly) Y Uses

func (_this *DOMRectReadOnly) Y() float64

Y returning attribute 'y' with type float64 (idl: unrestricted double).

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

Package geometry imports 2 packages (graph) and is imported by 12 packages. Updated 2019-09-20. Refresh now. Tools for package owners.