Skip to content

DOMMatrix

Values

asDOMMatrixReadOnly

let asDOMMatrixReadOnly: WebAPI.DOMAPI.domMatrix => WebAPI.DOMAPI.domMatrixReadOnly

flipX

let flipX: WebAPI.DOMAPI.domMatrix => WebAPI.DOMAPI.domMatrix

flipY

let flipY: WebAPI.DOMAPI.domMatrix => WebAPI.DOMAPI.domMatrix

fromFloat32Array

let fromFloat32Array: array<float> => WebAPI.DOMAPI.domMatrixReadOnly

Parameters

array< float >

Return type

WebAPI.DOMAPI.domMatrixReadOnly

fromFloat32ArrayD

let fromFloat32ArrayD: array<float> => WebAPI.DOMAPI.domMatrix

Parameters

array< float >

Return type

WebAPI.DOMAPI.domMatrix

fromFloat64Array

let fromFloat64Array: WebAPI.Prelude.float64Array => WebAPI.DOMAPI.domMatrixReadOnly

fromFloat64ArrayD

let fromFloat64ArrayD: WebAPI.Prelude.float64Array => WebAPI.DOMAPI.domMatrix

fromMatrix

let fromMatrix: (
~other: WebAPI.DOMAPI.domMatrixInit=?,
) => WebAPI.DOMAPI.domMatrixReadOnly

fromMatrixD

let fromMatrixD: (
~other: WebAPI.DOMAPI.domMatrixInit=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

option< WebAPI.DOMAPI.domMatrixInit >

Return type

WebAPI.DOMAPI.domMatrix

inverse

let inverse: WebAPI.DOMAPI.domMatrix => WebAPI.DOMAPI.domMatrix

invertSelf

let invertSelf: WebAPI.DOMAPI.domMatrix => WebAPI.DOMAPI.domMatrix

make

let make: (~init: string=?) => WebAPI.DOMAPI.domMatrix

Parameters

option< string >

Return type

WebAPI.DOMAPI.domMatrix

make2

let make2: (~init: array<float>=?) => WebAPI.DOMAPI.domMatrix

Parameters

option< array< float > >

Return type

WebAPI.DOMAPI.domMatrix

multiply

let multiply: (
WebAPI.DOMAPI.domMatrix,
~other: WebAPI.DOMAPI.domMatrixInit=?,
) => WebAPI.DOMAPI.domMatrix

multiplySelf

let multiplySelf: (
WebAPI.DOMAPI.domMatrix,
~other: WebAPI.DOMAPI.domMatrixInit=?,
) => WebAPI.DOMAPI.domMatrix

preMultiplySelf

let preMultiplySelf: (
WebAPI.DOMAPI.domMatrix,
~other: WebAPI.DOMAPI.domMatrixInit=?,
) => WebAPI.DOMAPI.domMatrix

rotate

let rotate: (
WebAPI.DOMAPI.domMatrix,
~rotX: float=?,
~rotY: float=?,
~rotZ: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

rotateAxisAngle

let rotateAxisAngle: (
WebAPI.DOMAPI.domMatrix,
~x: float=?,
~y: float=?,
~z: float=?,
~angle: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

rotateAxisAngleSelf

let rotateAxisAngleSelf: (
WebAPI.DOMAPI.domMatrix,
~x: float=?,
~y: float=?,
~z: float=?,
~angle: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

rotateFromVector

let rotateFromVector: (
WebAPI.DOMAPI.domMatrix,
~x: float=?,
~y: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

rotateFromVectorSelf

let rotateFromVectorSelf: (
WebAPI.DOMAPI.domMatrix,
~x: float=?,
~y: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

rotateSelf

let rotateSelf: (
WebAPI.DOMAPI.domMatrix,
~rotX: float=?,
~rotY: float=?,
~rotZ: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

scale

let scale: (
WebAPI.DOMAPI.domMatrix,
~scaleX: float=?,
~scaleY: float=?,
~scaleZ: float=?,
~originX: float=?,
~originY: float=?,
~originZ: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

scale3d

let scale3d: (
WebAPI.DOMAPI.domMatrix,
~scale: float=?,
~originX: float=?,
~originY: float=?,
~originZ: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

scale3dSelf

let scale3dSelf: (
WebAPI.DOMAPI.domMatrix,
~scale: float=?,
~originX: float=?,
~originY: float=?,
~originZ: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

scaleSelf

let scaleSelf: (
WebAPI.DOMAPI.domMatrix,
~scaleX: float=?,
~scaleY: float=?,
~scaleZ: float=?,
~originX: float=?,
~originY: float=?,
~originZ: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

setMatrixValue

let setMatrixValue: (WebAPI.DOMAPI.domMatrix, string) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix string

Return type

WebAPI.DOMAPI.domMatrix

skewX

let skewX: (
WebAPI.DOMAPI.domMatrix,
~sx: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float >

Return type

WebAPI.DOMAPI.domMatrix

skewXSelf

let skewXSelf: (
WebAPI.DOMAPI.domMatrix,
~sx: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float >

Return type

WebAPI.DOMAPI.domMatrix

skewY

let skewY: (
WebAPI.DOMAPI.domMatrix,
~sy: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float >

Return type

WebAPI.DOMAPI.domMatrix

skewYSelf

let skewYSelf: (
WebAPI.DOMAPI.domMatrix,
~sy: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float >

Return type

WebAPI.DOMAPI.domMatrix

toFloat32Array

let toFloat32Array: WebAPI.DOMAPI.domMatrix => array<float>

Parameters

WebAPI.DOMAPI.domMatrix

Return type

array< float >

toFloat64Array

let toFloat64Array: WebAPI.DOMAPI.domMatrix => WebAPI.Prelude.float64Array

toJSON

let toJSON: WebAPI.DOMAPI.domMatrix => Dict.t<string>

Parameters

WebAPI.DOMAPI.domMatrix

Return type

Dict.t< string >

transformPoint

let transformPoint: (
WebAPI.DOMAPI.domMatrix,
~point: WebAPI.DOMAPI.domPointInit=?,
) => WebAPI.DOMAPI.domPoint

translate

let translate: (
WebAPI.DOMAPI.domMatrix,
~tx: float=?,
~ty: float=?,
~tz: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

translateSelf

let translateSelf: (
WebAPI.DOMAPI.domMatrix,
~tx: float=?,
~ty: float=?,
~tz: float=?,
) => WebAPI.DOMAPI.domMatrix

Parameters

WebAPI.DOMAPI.domMatrix option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix