jsaddle-dom-0.10.0.0: src/JSDOM/Generated/DOMMatrix.hs
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- | Generated by dom-gen from geometry-1 (webref). Do not edit.
module JSDOM.Generated.DOMMatrix
(newDOMMatrix, invertSelf, invertSelf_, multiplySelf, multiplySelf_, preMultiplySelf, preMultiplySelf_, rotateAxisAngleSelf, rotateAxisAngleSelf_, rotateFromVectorSelf, rotateFromVectorSelf_, rotateSelf, rotateSelf_, scale3dSelf, scale3dSelf_, scaleSelf, scaleSelf_, setMatrixValue, setMatrixValue_, skewXSelf, skewXSelf_, skewYSelf, skewYSelf_, translateSelf, translateSelf_, fromFloat32Array, fromFloat32Array_, fromFloat64Array, fromFloat64Array_, fromMatrix, fromMatrix_, setA, getA, setB, getB, setC, getC, setD, getD, setE, getE, setF, getF, setM11, getM11, setM12, getM12, setM13, getM13, setM14, getM14, setM21, getM21, setM22, getM22, setM23, getM23, setM24, getM24, setM31, getM31, setM32, getM32, setM33, getM33, setM34, getM34, setM41, getM41, setM42, getM42, setM43, getM43, setM44, getM44, DOMMatrix(..), gTypeDOMMatrix)
where
import Prelude ((.), (==), (>>=), (<$>), (++), Bool(..), Maybe(..), IO, Int, Word, Double, Float)
import qualified Prelude as P
import Control.Monad (void)
import Control.Lens.Operators ((^.))
import Language.Javascript.JSaddle (JSM, JSVal, JSString, toJSVal, valToBool, valToNumber, js, jss, jsf, jsg, new, function, asyncFunction, jsUndefined, jsNull)
import JSDOM.Types
import qualified JSDOM.Types as Types
import JSDOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
import JSDOM.Generated.Enums
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/DOMMatrix MDN DOMMatrix. documentation>
newDOMMatrix :: (MonadDOM m, IsStringOrSequenceDouble init) => Maybe init -> m DOMMatrix
newDOMMatrix init = liftDOM (((new (jsg "DOMMatrix") [P.maybe (P.return jsUndefined) toJSVal init]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf MDN DOMMatrix.invertSelf documentation>
invertSelf :: (MonadDOM m) => DOMMatrix -> m DOMMatrix
invertSelf self = liftDOM (((self ^. jsf "invertSelf" ()) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf MDN DOMMatrix.invertSelf documentation>
invertSelf_ :: (MonadDOM m) => DOMMatrix -> m ()
invertSelf_ self = liftDOM (void (self ^. jsf "invertSelf" ()))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/multiplySelf MDN DOMMatrix.multiplySelf documentation>
multiplySelf :: (MonadDOM m) => DOMMatrix -> Maybe DOMMatrixInit -> m DOMMatrix
multiplySelf self other = liftDOM (((self ^. jsf "multiplySelf" [P.maybe (P.return jsUndefined) toJSVal other]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/multiplySelf MDN DOMMatrix.multiplySelf documentation>
multiplySelf_ :: (MonadDOM m) => DOMMatrix -> Maybe DOMMatrixInit -> m ()
multiplySelf_ self other = liftDOM (void (self ^. jsf "multiplySelf" [P.maybe (P.return jsUndefined) toJSVal other]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/preMultiplySelf MDN DOMMatrix.preMultiplySelf documentation>
preMultiplySelf :: (MonadDOM m) => DOMMatrix -> Maybe DOMMatrixInit -> m DOMMatrix
preMultiplySelf self other = liftDOM (((self ^. jsf "preMultiplySelf" [P.maybe (P.return jsUndefined) toJSVal other]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/preMultiplySelf MDN DOMMatrix.preMultiplySelf documentation>
preMultiplySelf_ :: (MonadDOM m) => DOMMatrix -> Maybe DOMMatrixInit -> m ()
preMultiplySelf_ self other = liftDOM (void (self ^. jsf "preMultiplySelf" [P.maybe (P.return jsUndefined) toJSVal other]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateAxisAngleSelf MDN DOMMatrix.rotateAxisAngleSelf documentation>
rotateAxisAngleSelf :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
rotateAxisAngleSelf self x y z angle = liftDOM (((self ^. jsf "rotateAxisAngleSelf" [P.maybe (P.return jsUndefined) toJSVal x, P.maybe (P.return jsUndefined) toJSVal y, P.maybe (P.return jsUndefined) toJSVal z, P.maybe (P.return jsUndefined) toJSVal angle]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateAxisAngleSelf MDN DOMMatrix.rotateAxisAngleSelf documentation>
rotateAxisAngleSelf_ :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
rotateAxisAngleSelf_ self x y z angle = liftDOM (void (self ^. jsf "rotateAxisAngleSelf" [P.maybe (P.return jsUndefined) toJSVal x, P.maybe (P.return jsUndefined) toJSVal y, P.maybe (P.return jsUndefined) toJSVal z, P.maybe (P.return jsUndefined) toJSVal angle]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateFromVectorSelf MDN DOMMatrix.rotateFromVectorSelf documentation>
rotateFromVectorSelf :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> m DOMMatrix
rotateFromVectorSelf self x y = liftDOM (((self ^. jsf "rotateFromVectorSelf" [P.maybe (P.return jsUndefined) toJSVal x, P.maybe (P.return jsUndefined) toJSVal y]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateFromVectorSelf MDN DOMMatrix.rotateFromVectorSelf documentation>
rotateFromVectorSelf_ :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> m ()
rotateFromVectorSelf_ self x y = liftDOM (void (self ^. jsf "rotateFromVectorSelf" [P.maybe (P.return jsUndefined) toJSVal x, P.maybe (P.return jsUndefined) toJSVal y]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateSelf MDN DOMMatrix.rotateSelf documentation>
rotateSelf :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
rotateSelf self rotX rotY rotZ = liftDOM (((self ^. jsf "rotateSelf" [P.maybe (P.return jsUndefined) toJSVal rotX, P.maybe (P.return jsUndefined) toJSVal rotY, P.maybe (P.return jsUndefined) toJSVal rotZ]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateSelf MDN DOMMatrix.rotateSelf documentation>
rotateSelf_ :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
rotateSelf_ self rotX rotY rotZ = liftDOM (void (self ^. jsf "rotateSelf" [P.maybe (P.return jsUndefined) toJSVal rotX, P.maybe (P.return jsUndefined) toJSVal rotY, P.maybe (P.return jsUndefined) toJSVal rotZ]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf MDN DOMMatrix.scale3dSelf documentation>
scale3dSelf :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
scale3dSelf self scale originX originY originZ = liftDOM (((self ^. jsf "scale3dSelf" [P.maybe (P.return jsUndefined) toJSVal scale, P.maybe (P.return jsUndefined) toJSVal originX, P.maybe (P.return jsUndefined) toJSVal originY, P.maybe (P.return jsUndefined) toJSVal originZ]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf MDN DOMMatrix.scale3dSelf documentation>
scale3dSelf_ :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
scale3dSelf_ self scale originX originY originZ = liftDOM (void (self ^. jsf "scale3dSelf" [P.maybe (P.return jsUndefined) toJSVal scale, P.maybe (P.return jsUndefined) toJSVal originX, P.maybe (P.return jsUndefined) toJSVal originY, P.maybe (P.return jsUndefined) toJSVal originZ]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf MDN DOMMatrix.scaleSelf documentation>
scaleSelf :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
scaleSelf self scaleX scaleY scaleZ originX originY originZ = liftDOM (((self ^. jsf "scaleSelf" [P.maybe (P.return jsUndefined) toJSVal scaleX, P.maybe (P.return jsUndefined) toJSVal scaleY, P.maybe (P.return jsUndefined) toJSVal scaleZ, P.maybe (P.return jsUndefined) toJSVal originX, P.maybe (P.return jsUndefined) toJSVal originY, P.maybe (P.return jsUndefined) toJSVal originZ]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf MDN DOMMatrix.scaleSelf documentation>
scaleSelf_ :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
scaleSelf_ self scaleX scaleY scaleZ originX originY originZ = liftDOM (void (self ^. jsf "scaleSelf" [P.maybe (P.return jsUndefined) toJSVal scaleX, P.maybe (P.return jsUndefined) toJSVal scaleY, P.maybe (P.return jsUndefined) toJSVal scaleZ, P.maybe (P.return jsUndefined) toJSVal originX, P.maybe (P.return jsUndefined) toJSVal originY, P.maybe (P.return jsUndefined) toJSVal originZ]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/setMatrixValue MDN DOMMatrix.setMatrixValue documentation>
setMatrixValue :: (MonadDOM m, ToJSString transformList) => DOMMatrix -> transformList -> m DOMMatrix
setMatrixValue self transformList = liftDOM (((self ^. jsf "setMatrixValue" [toJSVal transformList]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/setMatrixValue MDN DOMMatrix.setMatrixValue documentation>
setMatrixValue_ :: (MonadDOM m, ToJSString transformList) => DOMMatrix -> transformList -> m ()
setMatrixValue_ self transformList = liftDOM (void (self ^. jsf "setMatrixValue" [toJSVal transformList]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf MDN DOMMatrix.skewXSelf documentation>
skewXSelf :: (MonadDOM m) => DOMMatrix -> Maybe Double -> m DOMMatrix
skewXSelf self sx = liftDOM (((self ^. jsf "skewXSelf" [P.maybe (P.return jsUndefined) toJSVal sx]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf MDN DOMMatrix.skewXSelf documentation>
skewXSelf_ :: (MonadDOM m) => DOMMatrix -> Maybe Double -> m ()
skewXSelf_ self sx = liftDOM (void (self ^. jsf "skewXSelf" [P.maybe (P.return jsUndefined) toJSVal sx]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewYSelf MDN DOMMatrix.skewYSelf documentation>
skewYSelf :: (MonadDOM m) => DOMMatrix -> Maybe Double -> m DOMMatrix
skewYSelf self sy = liftDOM (((self ^. jsf "skewYSelf" [P.maybe (P.return jsUndefined) toJSVal sy]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewYSelf MDN DOMMatrix.skewYSelf documentation>
skewYSelf_ :: (MonadDOM m) => DOMMatrix -> Maybe Double -> m ()
skewYSelf_ self sy = liftDOM (void (self ^. jsf "skewYSelf" [P.maybe (P.return jsUndefined) toJSVal sy]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/translateSelf MDN DOMMatrix.translateSelf documentation>
translateSelf :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> m DOMMatrix
translateSelf self tx ty tz = liftDOM (((self ^. jsf "translateSelf" [P.maybe (P.return jsUndefined) toJSVal tx, P.maybe (P.return jsUndefined) toJSVal ty, P.maybe (P.return jsUndefined) toJSVal tz]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/translateSelf MDN DOMMatrix.translateSelf documentation>
translateSelf_ :: (MonadDOM m) => DOMMatrix -> Maybe Double -> Maybe Double -> Maybe Double -> m ()
translateSelf_ self tx ty tz = liftDOM (void (self ^. jsf "translateSelf" [P.maybe (P.return jsUndefined) toJSVal tx, P.maybe (P.return jsUndefined) toJSVal ty, P.maybe (P.return jsUndefined) toJSVal tz]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static MDN DOMMatrix.fromFloat32Array documentation>
fromFloat32Array :: (MonadDOM m, IsFloat32Array array32) => array32 -> m DOMMatrix
fromFloat32Array array32 = liftDOM ((((jsg "DOMMatrix") ^. jsf "fromFloat32Array" [toJSVal array32]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static MDN DOMMatrix.fromFloat32Array documentation>
fromFloat32Array_ :: (MonadDOM m, IsFloat32Array array32) => array32 -> m ()
fromFloat32Array_ array32 = liftDOM (void ((jsg "DOMMatrix") ^. jsf "fromFloat32Array" [toJSVal array32]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static MDN DOMMatrix.fromFloat64Array documentation>
fromFloat64Array :: (MonadDOM m, IsFloat64Array array64) => array64 -> m DOMMatrix
fromFloat64Array array64 = liftDOM ((((jsg "DOMMatrix") ^. jsf "fromFloat64Array" [toJSVal array64]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static MDN DOMMatrix.fromFloat64Array documentation>
fromFloat64Array_ :: (MonadDOM m, IsFloat64Array array64) => array64 -> m ()
fromFloat64Array_ array64 = liftDOM (void ((jsg "DOMMatrix") ^. jsf "fromFloat64Array" [toJSVal array64]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static MDN DOMMatrix.fromMatrix documentation>
fromMatrix :: (MonadDOM m) => Maybe DOMMatrixInit -> m DOMMatrix
fromMatrix other = liftDOM ((((jsg "DOMMatrix") ^. jsf "fromMatrix" [P.maybe (P.return jsUndefined) toJSVal other]) >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static MDN DOMMatrix.fromMatrix documentation>
fromMatrix_ :: (MonadDOM m) => Maybe DOMMatrixInit -> m ()
fromMatrix_ other = liftDOM (void ((jsg "DOMMatrix") ^. jsf "fromMatrix" [P.maybe (P.return jsUndefined) toJSVal other]))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.a documentation>
setA :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setA self val = liftDOM (void (self ^. jss "a" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.a documentation>
getA :: (MonadDOM m) => DOMMatrix -> m Double
getA self = liftDOM (((self ^. js "a") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.b documentation>
setB :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setB self val = liftDOM (void (self ^. jss "b" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.b documentation>
getB :: (MonadDOM m) => DOMMatrix -> m Double
getB self = liftDOM (((self ^. js "b") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.c documentation>
setC :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setC self val = liftDOM (void (self ^. jss "c" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.c documentation>
getC :: (MonadDOM m) => DOMMatrix -> m Double
getC self = liftDOM (((self ^. js "c") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.d documentation>
setD :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setD self val = liftDOM (void (self ^. jss "d" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.d documentation>
getD :: (MonadDOM m) => DOMMatrix -> m Double
getD self = liftDOM (((self ^. js "d") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.e documentation>
setE :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setE self val = liftDOM (void (self ^. jss "e" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.e documentation>
getE :: (MonadDOM m) => DOMMatrix -> m Double
getE self = liftDOM (((self ^. js "e") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.f documentation>
setF :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setF self val = liftDOM (void (self ^. jss "f" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.f documentation>
getF :: (MonadDOM m) => DOMMatrix -> m Double
getF self = liftDOM (((self ^. js "f") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m11 documentation>
setM11 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM11 self val = liftDOM (void (self ^. jss "m11" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m11 documentation>
getM11 :: (MonadDOM m) => DOMMatrix -> m Double
getM11 self = liftDOM (((self ^. js "m11") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m12 documentation>
setM12 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM12 self val = liftDOM (void (self ^. jss "m12" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m12 documentation>
getM12 :: (MonadDOM m) => DOMMatrix -> m Double
getM12 self = liftDOM (((self ^. js "m12") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m13 documentation>
setM13 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM13 self val = liftDOM (void (self ^. jss "m13" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m13 documentation>
getM13 :: (MonadDOM m) => DOMMatrix -> m Double
getM13 self = liftDOM (((self ^. js "m13") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m14 documentation>
setM14 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM14 self val = liftDOM (void (self ^. jss "m14" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m14 documentation>
getM14 :: (MonadDOM m) => DOMMatrix -> m Double
getM14 self = liftDOM (((self ^. js "m14") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m21 documentation>
setM21 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM21 self val = liftDOM (void (self ^. jss "m21" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m21 documentation>
getM21 :: (MonadDOM m) => DOMMatrix -> m Double
getM21 self = liftDOM (((self ^. js "m21") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m22 documentation>
setM22 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM22 self val = liftDOM (void (self ^. jss "m22" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m22 documentation>
getM22 :: (MonadDOM m) => DOMMatrix -> m Double
getM22 self = liftDOM (((self ^. js "m22") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m23 documentation>
setM23 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM23 self val = liftDOM (void (self ^. jss "m23" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m23 documentation>
getM23 :: (MonadDOM m) => DOMMatrix -> m Double
getM23 self = liftDOM (((self ^. js "m23") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m24 documentation>
setM24 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM24 self val = liftDOM (void (self ^. jss "m24" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m24 documentation>
getM24 :: (MonadDOM m) => DOMMatrix -> m Double
getM24 self = liftDOM (((self ^. js "m24") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m31 documentation>
setM31 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM31 self val = liftDOM (void (self ^. jss "m31" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m31 documentation>
getM31 :: (MonadDOM m) => DOMMatrix -> m Double
getM31 self = liftDOM (((self ^. js "m31") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m32 documentation>
setM32 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM32 self val = liftDOM (void (self ^. jss "m32" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m32 documentation>
getM32 :: (MonadDOM m) => DOMMatrix -> m Double
getM32 self = liftDOM (((self ^. js "m32") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m33 documentation>
setM33 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM33 self val = liftDOM (void (self ^. jss "m33" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m33 documentation>
getM33 :: (MonadDOM m) => DOMMatrix -> m Double
getM33 self = liftDOM (((self ^. js "m33") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m34 documentation>
setM34 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM34 self val = liftDOM (void (self ^. jss "m34" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m34 documentation>
getM34 :: (MonadDOM m) => DOMMatrix -> m Double
getM34 self = liftDOM (((self ^. js "m34") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m41 documentation>
setM41 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM41 self val = liftDOM (void (self ^. jss "m41" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m41 documentation>
getM41 :: (MonadDOM m) => DOMMatrix -> m Double
getM41 self = liftDOM (((self ^. js "m41") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m42 documentation>
setM42 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM42 self val = liftDOM (void (self ^. jss "m42" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m42 documentation>
getM42 :: (MonadDOM m) => DOMMatrix -> m Double
getM42 self = liftDOM (((self ^. js "m42") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m43 documentation>
setM43 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM43 self val = liftDOM (void (self ^. jss "m43" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m43 documentation>
getM43 :: (MonadDOM m) => DOMMatrix -> m Double
getM43 self = liftDOM (((self ^. js "m43") >>= valToNumber))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m44 documentation>
setM44 :: (MonadDOM m) => DOMMatrix -> Double -> m ()
setM44 self val = liftDOM (void (self ^. jss "m44" (toJSVal val)))
-- | <https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties MDN DOMMatrix.m44 documentation>
getM44 :: (MonadDOM m) => DOMMatrix -> m Double
getM44 self = liftDOM (((self ^. js "m44") >>= valToNumber))