Skip to content

DOMMatrixReadOnly

Values

flipX

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

flipY

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

fromFloat32Array

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

Parameters

array< float >

Return type

WebAPI.DOMAPI.domMatrixReadOnly

fromFloat64Array

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

fromMatrix

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

inverse

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

make

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

Parameters

option< string >

Return type

WebAPI.DOMAPI.domMatrixReadOnly

make2

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

Parameters

option< array< float > >

Return type

WebAPI.DOMAPI.domMatrixReadOnly

multiply

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

rotate

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

rotateAxisAngle

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

rotateFromVector

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

scale

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly option< float > option< float > option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

scale3d

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly option< float > option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix

skewX

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly option< float >

Return type

WebAPI.DOMAPI.domMatrix

skewY

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly option< float >

Return type

WebAPI.DOMAPI.domMatrix

toFloat32Array

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly

Return type

array< float >

toFloat64Array

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

toJSON

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly

Return type

Dict.t< string >

transformPoint

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

translate

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

Parameters

WebAPI.DOMAPI.domMatrixReadOnly option< float > option< float > option< float >

Return type

WebAPI.DOMAPI.domMatrix