packages feed

ghcjs-dom-javascript-0.10.0.0: src/GHCJS/DOM/JSFFI/Generated/DOMMatrixReadOnly.hs

{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ForeignFunctionInterface, JavaScriptFFI #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- | Generated by dom-gen from geometry-1 (webref). Do not edit.
module GHCJS.DOM.JSFFI.Generated.DOMMatrixReadOnly
       (js_newDOMMatrixReadOnly, js_flipX, js_flipY, js_inverse, js_multiply, js_rotate, js_rotateAxisAngle, js_rotateFromVector, js_scale, js_scale3d, js_scaleNonUniform, js_skewX, js_skewY, js_toFloat32Array, js_toFloat64Array, js_toJSON, js_transformPoint, js_translate, js_fromFloat32Array, js_fromFloat64Array, js_fromMatrix, js_getA, js_getB, js_getC, js_getD, js_getE, js_getF, js_getM11, js_getM12, js_getM13, js_getM14, js_getM21, js_getM22, js_getM23, js_getM24, js_getM31, js_getM32, js_getM33, js_getM34, js_getM41, js_getM42, js_getM43, js_getM44, js_getIs2D, js_getIsIdentity, newDOMMatrixReadOnly, flipX, flipX_, flipY, flipY_, inverse, inverse_, multiply, multiply_, rotate, rotate_, rotateAxisAngle, rotateAxisAngle_, rotateFromVector, rotateFromVector_, scale, scale_, scale3d, scale3d_, scaleNonUniform, scaleNonUniform_, skewX, skewX_, skewY, skewY_, toFloat32Array, toFloat32Array_, toFloat64Array, toFloat64Array_, toJSON, toJSON_, transformPoint, transformPoint_, translate, translate_, fromFloat32Array, fromFloat32Array_, fromFloat64Array, fromFloat64Array_, fromMatrix, fromMatrix_, getA, getB, getC, getD, getE, getF, getM11, getM12, getM13, getM14, getM21, getM22, getM23, getM24, getM31, getM32, getM33, getM34, getM41, getM42, getM43, getM44, getIs2D, getIsIdentity, DOMMatrixReadOnly(..), gTypeDOMMatrixReadOnly, IsDOMMatrixReadOnly, toDOMMatrixReadOnly)
       where
import Prelude ((.), (==), (>>=), (<$>), (++), Bool(..), Maybe(..), IO, Int, Word, Double, Float)
import qualified Prelude as P
import Control.Monad (void)
import GHCJS.Types (JSVal, JSString)
import GHCJS.Foreign (jsUndefined, jsNull)
import GHCJS.DOM.Types hiding (toFloat32Array, toFloat64Array)
import qualified GHCJS.DOM.Types as Types
import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
import GHCJS.DOM.JSFFI.Generated.Enums

foreign import javascript safe "(($1) => { return new globalThis[\"DOMMatrixReadOnly\"]($1); })"
        js_newDOMMatrixReadOnly :: JSVal -> IO DOMMatrixReadOnly
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/DOMMatrixReadOnly MDN DOMMatrixReadOnly. documentation>
newDOMMatrixReadOnly :: (MonadDOM m, IsStringOrSequenceDouble init) => Maybe init -> m DOMMatrixReadOnly
newDOMMatrixReadOnly init = liftDOM (((P.maybe (P.return jsUndefined) toJSVal init) >>= \a1' -> js_newDOMMatrixReadOnly a1'))

foreign import javascript safe "(($1) => { return $1[\"flipX\"](); })"
        js_flipX :: DOMMatrixReadOnly -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX MDN DOMMatrixReadOnly.flipX documentation>
flipX :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m DOMMatrix
flipX self = liftDOM ((js_flipX ((Types.toDOMMatrixReadOnly self))))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX MDN DOMMatrixReadOnly.flipX documentation>
flipX_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m ()
flipX_ self = liftDOM (void ((js_flipX ((Types.toDOMMatrixReadOnly self)))))

foreign import javascript safe "(($1) => { return $1[\"flipY\"](); })"
        js_flipY :: DOMMatrixReadOnly -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY MDN DOMMatrixReadOnly.flipY documentation>
flipY :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m DOMMatrix
flipY self = liftDOM ((js_flipY ((Types.toDOMMatrixReadOnly self))))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY MDN DOMMatrixReadOnly.flipY documentation>
flipY_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m ()
flipY_ self = liftDOM (void ((js_flipY ((Types.toDOMMatrixReadOnly self)))))

foreign import javascript safe "(($1) => { return $1[\"inverse\"](); })"
        js_inverse :: DOMMatrixReadOnly -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse MDN DOMMatrixReadOnly.inverse documentation>
inverse :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m DOMMatrix
inverse self = liftDOM ((js_inverse ((Types.toDOMMatrixReadOnly self))))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse MDN DOMMatrixReadOnly.inverse documentation>
inverse_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m ()
inverse_ self = liftDOM (void ((js_inverse ((Types.toDOMMatrixReadOnly self)))))

foreign import javascript safe "(($1, $2) => { return $1[\"multiply\"]($2); })"
        js_multiply :: DOMMatrixReadOnly -> JSVal -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply MDN DOMMatrixReadOnly.multiply documentation>
multiply :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe DOMMatrixInit -> m DOMMatrix
multiply self other = liftDOM (((P.maybe (P.return jsUndefined) toJSVal other) >>= \a2' -> js_multiply ((Types.toDOMMatrixReadOnly self)) a2'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply MDN DOMMatrixReadOnly.multiply documentation>
multiply_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe DOMMatrixInit -> m ()
multiply_ self other = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal other) >>= \a2' -> js_multiply ((Types.toDOMMatrixReadOnly self)) a2')))

foreign import javascript safe "(($1, $2, $3, $4) => { return $1[\"rotate\"]($2, $3, $4); })"
        js_rotate :: DOMMatrixReadOnly -> JSVal -> JSVal -> JSVal -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate MDN DOMMatrixReadOnly.rotate documentation>
rotate :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
rotate self rotX rotY rotZ = liftDOM (((P.maybe (P.return jsUndefined) toJSVal rotX) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal rotY) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal rotZ) >>= \a4' -> js_rotate ((Types.toDOMMatrixReadOnly self)) a2' a3' a4'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate MDN DOMMatrixReadOnly.rotate documentation>
rotate_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
rotate_ self rotX rotY rotZ = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal rotX) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal rotY) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal rotZ) >>= \a4' -> js_rotate ((Types.toDOMMatrixReadOnly self)) a2' a3' a4')))

foreign import javascript safe "(($1, $2, $3, $4, $5) => { return $1[\"rotateAxisAngle\"]($2, $3, $4, $5); })"
        js_rotateAxisAngle :: DOMMatrixReadOnly -> JSVal -> JSVal -> JSVal -> JSVal -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle MDN DOMMatrixReadOnly.rotateAxisAngle documentation>
rotateAxisAngle :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
rotateAxisAngle self x y z angle = liftDOM (((P.maybe (P.return jsUndefined) toJSVal x) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal y) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal z) >>= \a4' -> (P.maybe (P.return jsUndefined) toJSVal angle) >>= \a5' -> js_rotateAxisAngle ((Types.toDOMMatrixReadOnly self)) a2' a3' a4' a5'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle MDN DOMMatrixReadOnly.rotateAxisAngle documentation>
rotateAxisAngle_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
rotateAxisAngle_ self x y z angle = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal x) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal y) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal z) >>= \a4' -> (P.maybe (P.return jsUndefined) toJSVal angle) >>= \a5' -> js_rotateAxisAngle ((Types.toDOMMatrixReadOnly self)) a2' a3' a4' a5')))

foreign import javascript safe "(($1, $2, $3) => { return $1[\"rotateFromVector\"]($2, $3); })"
        js_rotateFromVector :: DOMMatrixReadOnly -> JSVal -> JSVal -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector MDN DOMMatrixReadOnly.rotateFromVector documentation>
rotateFromVector :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> m DOMMatrix
rotateFromVector self x y = liftDOM (((P.maybe (P.return jsUndefined) toJSVal x) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal y) >>= \a3' -> js_rotateFromVector ((Types.toDOMMatrixReadOnly self)) a2' a3'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector MDN DOMMatrixReadOnly.rotateFromVector documentation>
rotateFromVector_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> m ()
rotateFromVector_ self x y = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal x) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal y) >>= \a3' -> js_rotateFromVector ((Types.toDOMMatrixReadOnly self)) a2' a3')))

foreign import javascript safe "(($1, $2, $3, $4, $5, $6, $7) => { return $1[\"scale\"]($2, $3, $4, $5, $6, $7); })"
        js_scale :: DOMMatrixReadOnly -> JSVal -> JSVal -> JSVal -> JSVal -> JSVal -> JSVal -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale MDN DOMMatrixReadOnly.scale documentation>
scale :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
scale self scaleX scaleY scaleZ originX originY originZ = liftDOM (((P.maybe (P.return jsUndefined) toJSVal scaleX) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal scaleY) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal scaleZ) >>= \a4' -> (P.maybe (P.return jsUndefined) toJSVal originX) >>= \a5' -> (P.maybe (P.return jsUndefined) toJSVal originY) >>= \a6' -> (P.maybe (P.return jsUndefined) toJSVal originZ) >>= \a7' -> js_scale ((Types.toDOMMatrixReadOnly self)) a2' a3' a4' a5' a6' a7'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale MDN DOMMatrixReadOnly.scale documentation>
scale_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
scale_ self scaleX scaleY scaleZ originX originY originZ = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal scaleX) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal scaleY) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal scaleZ) >>= \a4' -> (P.maybe (P.return jsUndefined) toJSVal originX) >>= \a5' -> (P.maybe (P.return jsUndefined) toJSVal originY) >>= \a6' -> (P.maybe (P.return jsUndefined) toJSVal originZ) >>= \a7' -> js_scale ((Types.toDOMMatrixReadOnly self)) a2' a3' a4' a5' a6' a7')))

foreign import javascript safe "(($1, $2, $3, $4, $5) => { return $1[\"scale3d\"]($2, $3, $4, $5); })"
        js_scale3d :: DOMMatrixReadOnly -> JSVal -> JSVal -> JSVal -> JSVal -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d MDN DOMMatrixReadOnly.scale3d documentation>
scale3d :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
scale3d self scale originX originY originZ = liftDOM (((P.maybe (P.return jsUndefined) toJSVal scale) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal originX) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal originY) >>= \a4' -> (P.maybe (P.return jsUndefined) toJSVal originZ) >>= \a5' -> js_scale3d ((Types.toDOMMatrixReadOnly self)) a2' a3' a4' a5'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d MDN DOMMatrixReadOnly.scale3d documentation>
scale3d_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
scale3d_ self scale originX originY originZ = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal scale) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal originX) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal originY) >>= \a4' -> (P.maybe (P.return jsUndefined) toJSVal originZ) >>= \a5' -> js_scale3d ((Types.toDOMMatrixReadOnly self)) a2' a3' a4' a5')))

foreign import javascript safe "(($1, $2, $3) => { return $1[\"scaleNonUniform\"]($2, $3); })"
        js_scaleNonUniform :: DOMMatrixReadOnly -> JSVal -> JSVal -> IO DOMMatrix
-- | <https://drafts.csswg.org/geometry-1/#dom-dommatrixreadonly-scalenonuniform DOMMatrixReadOnly.scaleNonUniform specification>
scaleNonUniform :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> m DOMMatrix
scaleNonUniform self scaleX scaleY = liftDOM (((P.maybe (P.return jsUndefined) toJSVal scaleX) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal scaleY) >>= \a3' -> js_scaleNonUniform ((Types.toDOMMatrixReadOnly self)) a2' a3'))

-- | <https://drafts.csswg.org/geometry-1/#dom-dommatrixreadonly-scalenonuniform DOMMatrixReadOnly.scaleNonUniform specification>
scaleNonUniform_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> m ()
scaleNonUniform_ self scaleX scaleY = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal scaleX) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal scaleY) >>= \a3' -> js_scaleNonUniform ((Types.toDOMMatrixReadOnly self)) a2' a3')))

foreign import javascript safe "(($1, $2) => { return $1[\"skewX\"]($2); })"
        js_skewX :: DOMMatrixReadOnly -> JSVal -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX MDN DOMMatrixReadOnly.skewX documentation>
skewX :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> m DOMMatrix
skewX self sx = liftDOM (((P.maybe (P.return jsUndefined) toJSVal sx) >>= \a2' -> js_skewX ((Types.toDOMMatrixReadOnly self)) a2'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX MDN DOMMatrixReadOnly.skewX documentation>
skewX_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> m ()
skewX_ self sx = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal sx) >>= \a2' -> js_skewX ((Types.toDOMMatrixReadOnly self)) a2')))

foreign import javascript safe "(($1, $2) => { return $1[\"skewY\"]($2); })"
        js_skewY :: DOMMatrixReadOnly -> JSVal -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY MDN DOMMatrixReadOnly.skewY documentation>
skewY :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> m DOMMatrix
skewY self sy = liftDOM (((P.maybe (P.return jsUndefined) toJSVal sy) >>= \a2' -> js_skewY ((Types.toDOMMatrixReadOnly self)) a2'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY MDN DOMMatrixReadOnly.skewY documentation>
skewY_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> m ()
skewY_ self sy = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal sy) >>= \a2' -> js_skewY ((Types.toDOMMatrixReadOnly self)) a2')))

foreign import javascript safe "(($1) => { return $1[\"toFloat32Array\"](); })"
        js_toFloat32Array :: DOMMatrixReadOnly -> IO Float32Array
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array MDN DOMMatrixReadOnly.toFloat32Array documentation>
toFloat32Array :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Float32Array
toFloat32Array self = liftDOM ((js_toFloat32Array ((Types.toDOMMatrixReadOnly self))))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array MDN DOMMatrixReadOnly.toFloat32Array documentation>
toFloat32Array_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m ()
toFloat32Array_ self = liftDOM (void ((js_toFloat32Array ((Types.toDOMMatrixReadOnly self)))))

foreign import javascript safe "(($1) => { return $1[\"toFloat64Array\"](); })"
        js_toFloat64Array :: DOMMatrixReadOnly -> IO Float64Array
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array MDN DOMMatrixReadOnly.toFloat64Array documentation>
toFloat64Array :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Float64Array
toFloat64Array self = liftDOM ((js_toFloat64Array ((Types.toDOMMatrixReadOnly self))))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array MDN DOMMatrixReadOnly.toFloat64Array documentation>
toFloat64Array_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m ()
toFloat64Array_ self = liftDOM (void ((js_toFloat64Array ((Types.toDOMMatrixReadOnly self)))))

foreign import javascript safe "(($1) => { return $1[\"toJSON\"](); })"
        js_toJSON :: DOMMatrixReadOnly -> IO GObject
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON MDN DOMMatrixReadOnly.toJSON documentation>
toJSON :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m GObject
toJSON self = liftDOM ((js_toJSON ((Types.toDOMMatrixReadOnly self))))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON MDN DOMMatrixReadOnly.toJSON documentation>
toJSON_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m ()
toJSON_ self = liftDOM (void ((js_toJSON ((Types.toDOMMatrixReadOnly self)))))

foreign import javascript safe "(($1, $2) => { return $1[\"transformPoint\"]($2); })"
        js_transformPoint :: DOMMatrixReadOnly -> JSVal -> IO DOMPoint
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint MDN DOMMatrixReadOnly.transformPoint documentation>
transformPoint :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe DOMPointInit -> m DOMPoint
transformPoint self point = liftDOM (((P.maybe (P.return jsUndefined) toJSVal point) >>= \a2' -> js_transformPoint ((Types.toDOMMatrixReadOnly self)) a2'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint MDN DOMMatrixReadOnly.transformPoint documentation>
transformPoint_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe DOMPointInit -> m ()
transformPoint_ self point = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal point) >>= \a2' -> js_transformPoint ((Types.toDOMMatrixReadOnly self)) a2')))

foreign import javascript safe "(($1, $2, $3, $4) => { return $1[\"translate\"]($2, $3, $4); })"
        js_translate :: DOMMatrixReadOnly -> JSVal -> JSVal -> JSVal -> IO DOMMatrix
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate MDN DOMMatrixReadOnly.translate documentation>
translate :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
translate self tx ty tz = liftDOM (((P.maybe (P.return jsUndefined) toJSVal tx) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal ty) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal tz) >>= \a4' -> js_translate ((Types.toDOMMatrixReadOnly self)) a2' a3' a4'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate MDN DOMMatrixReadOnly.translate documentation>
translate_ :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
translate_ self tx ty tz = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal tx) >>= \a2' -> (P.maybe (P.return jsUndefined) toJSVal ty) >>= \a3' -> (P.maybe (P.return jsUndefined) toJSVal tz) >>= \a4' -> js_translate ((Types.toDOMMatrixReadOnly self)) a2' a3' a4')))

foreign import javascript safe "(($1) => { return globalThis[\"DOMMatrixReadOnly\"][\"fromFloat32Array\"]($1); })"
        js_fromFloat32Array :: Float32Array -> IO DOMMatrixReadOnly
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static MDN DOMMatrixReadOnly.fromFloat32Array documentation>
fromFloat32Array :: (MonadDOM m, IsFloat32Array array32) => array32 -> m DOMMatrixReadOnly
fromFloat32Array array32 = liftDOM ((js_fromFloat32Array (Types.toFloat32Array array32)))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static MDN DOMMatrixReadOnly.fromFloat32Array documentation>
fromFloat32Array_ :: (MonadDOM m, IsFloat32Array array32) => array32 -> m ()
fromFloat32Array_ array32 = liftDOM (void ((js_fromFloat32Array (Types.toFloat32Array array32))))

foreign import javascript safe "(($1) => { return globalThis[\"DOMMatrixReadOnly\"][\"fromFloat64Array\"]($1); })"
        js_fromFloat64Array :: Float64Array -> IO DOMMatrixReadOnly
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static MDN DOMMatrixReadOnly.fromFloat64Array documentation>
fromFloat64Array :: (MonadDOM m, IsFloat64Array array64) => array64 -> m DOMMatrixReadOnly
fromFloat64Array array64 = liftDOM ((js_fromFloat64Array (Types.toFloat64Array array64)))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static MDN DOMMatrixReadOnly.fromFloat64Array documentation>
fromFloat64Array_ :: (MonadDOM m, IsFloat64Array array64) => array64 -> m ()
fromFloat64Array_ array64 = liftDOM (void ((js_fromFloat64Array (Types.toFloat64Array array64))))

foreign import javascript safe "(($1) => { return globalThis[\"DOMMatrixReadOnly\"][\"fromMatrix\"]($1); })"
        js_fromMatrix :: JSVal -> IO DOMMatrixReadOnly
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static MDN DOMMatrixReadOnly.fromMatrix documentation>
fromMatrix :: (MonadDOM m) => Maybe DOMMatrixInit -> m DOMMatrixReadOnly
fromMatrix other = liftDOM (((P.maybe (P.return jsUndefined) toJSVal other) >>= \a1' -> js_fromMatrix a1'))

-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static MDN DOMMatrixReadOnly.fromMatrix documentation>
fromMatrix_ :: (MonadDOM m) => Maybe DOMMatrixInit -> m ()
fromMatrix_ other = liftDOM (void (((P.maybe (P.return jsUndefined) toJSVal other) >>= \a1' -> js_fromMatrix a1')))

foreign import javascript unsafe "(($1) => { return $1[\"a\"]; })"
        js_getA :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.a documentation>
getA :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getA self = liftDOM ((js_getA ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"b\"]; })"
        js_getB :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.b documentation>
getB :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getB self = liftDOM ((js_getB ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"c\"]; })"
        js_getC :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.c documentation>
getC :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getC self = liftDOM ((js_getC ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"d\"]; })"
        js_getD :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.d documentation>
getD :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getD self = liftDOM ((js_getD ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"e\"]; })"
        js_getE :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.e documentation>
getE :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getE self = liftDOM ((js_getE ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"f\"]; })"
        js_getF :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.f documentation>
getF :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getF self = liftDOM ((js_getF ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m11\"]; })"
        js_getM11 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m11 documentation>
getM11 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM11 self = liftDOM ((js_getM11 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m12\"]; })"
        js_getM12 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m12 documentation>
getM12 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM12 self = liftDOM ((js_getM12 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m13\"]; })"
        js_getM13 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m13 documentation>
getM13 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM13 self = liftDOM ((js_getM13 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m14\"]; })"
        js_getM14 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m14 documentation>
getM14 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM14 self = liftDOM ((js_getM14 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m21\"]; })"
        js_getM21 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m21 documentation>
getM21 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM21 self = liftDOM ((js_getM21 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m22\"]; })"
        js_getM22 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m22 documentation>
getM22 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM22 self = liftDOM ((js_getM22 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m23\"]; })"
        js_getM23 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m23 documentation>
getM23 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM23 self = liftDOM ((js_getM23 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m24\"]; })"
        js_getM24 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m24 documentation>
getM24 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM24 self = liftDOM ((js_getM24 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m31\"]; })"
        js_getM31 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m31 documentation>
getM31 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM31 self = liftDOM ((js_getM31 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m32\"]; })"
        js_getM32 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m32 documentation>
getM32 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM32 self = liftDOM ((js_getM32 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m33\"]; })"
        js_getM33 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m33 documentation>
getM33 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM33 self = liftDOM ((js_getM33 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m34\"]; })"
        js_getM34 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m34 documentation>
getM34 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM34 self = liftDOM ((js_getM34 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m41\"]; })"
        js_getM41 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m41 documentation>
getM41 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM41 self = liftDOM ((js_getM41 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m42\"]; })"
        js_getM42 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m42 documentation>
getM42 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM42 self = liftDOM ((js_getM42 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m43\"]; })"
        js_getM43 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m43 documentation>
getM43 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM43 self = liftDOM ((js_getM43 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"m44\"]; })"
        js_getM44 :: DOMMatrixReadOnly -> IO Double
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties MDN DOMMatrixReadOnly.m44 documentation>
getM44 :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Double
getM44 self = liftDOM ((js_getM44 ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"is2D\"]; })"
        js_getIs2D :: DOMMatrixReadOnly -> IO Bool
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D MDN DOMMatrixReadOnly.is2D documentation>
getIs2D :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Bool
getIs2D self = liftDOM ((js_getIs2D ((Types.toDOMMatrixReadOnly self))))

foreign import javascript unsafe "(($1) => { return $1[\"isIdentity\"]; })"
        js_getIsIdentity :: DOMMatrixReadOnly -> IO Bool
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity MDN DOMMatrixReadOnly.isIdentity documentation>
getIsIdentity :: (MonadDOM m, IsDOMMatrixReadOnly self) => self -> m Bool
getIsIdentity self = liftDOM ((js_getIsIdentity ((Types.toDOMMatrixReadOnly self))))