ghcjs-dom-javascript-0.9.9.0: src/GHCJS/DOM/JSFFI/Generated/SVGPathSegCurvetoCubicSmoothAbs.hs
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE JavaScriptFFI #-}
-- For HasCallStack compatibility
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
module GHCJS.DOM.JSFFI.Generated.SVGPathSegCurvetoCubicSmoothAbs
(js_setX, setX, js_getX, getX, js_setY, setY, js_getY, getY,
js_setX2, setX2, js_getX2, getX2, js_setY2, setY2, js_getY2, getY2,
SVGPathSegCurvetoCubicSmoothAbs(..),
gTypeSVGPathSegCurvetoCubicSmoothAbs)
where
import Prelude ((.), (==), (>>=), return, IO, Int, Float, Double, Bool(..), Maybe, maybe, fromIntegral, round, fmap, Show, Read, Eq, Ord)
import qualified Prelude (error)
import Data.Typeable (Typeable)
import GHCJS.Types (JSVal(..), JSString)
import GHCJS.Foreign (jsNull, jsUndefined)
import GHC.JS.Foreign.Callback (syncCallback, asyncCallback, syncCallback1, asyncCallback1, syncCallback2, asyncCallback2, OnBlocked(..))
import GHCJS.Marshal (ToJSVal(..), FromJSVal(..))
import GHCJS.Marshal.Pure (PToJSVal(..), PFromJSVal(..))
import Control.Monad (void)
import Control.Monad.IO.Class (MonadIO(..))
import Data.Int (Int64)
import Data.Word (Word, Word64)
import Data.Maybe (fromJust)
import Data.Traversable (mapM)
import GHCJS.DOM.Types
import Control.Applicative ((<$>))
import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
import GHCJS.DOM.JSFFI.Generated.Enums
foreign import javascript unsafe "(($1, $2) => { $1[\"x\"] = $2; })" js_setX ::
SVGPathSegCurvetoCubicSmoothAbs -> Float -> IO ()
-- | <https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs.x Mozilla SVGPathSegCurvetoCubicSmoothAbs.x documentation>
setX ::
(MonadIO m) => SVGPathSegCurvetoCubicSmoothAbs -> Float -> m ()
setX self val = liftIO (js_setX self val)
foreign import javascript unsafe "(($1) => { return $1[\"x\"]; })" js_getX ::
SVGPathSegCurvetoCubicSmoothAbs -> IO Float
-- | <https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs.x Mozilla SVGPathSegCurvetoCubicSmoothAbs.x documentation>
getX :: (MonadIO m) => SVGPathSegCurvetoCubicSmoothAbs -> m Float
getX self = liftIO (js_getX self)
foreign import javascript unsafe "(($1, $2) => { $1[\"y\"] = $2; })" js_setY ::
SVGPathSegCurvetoCubicSmoothAbs -> Float -> IO ()
-- | <https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs.y Mozilla SVGPathSegCurvetoCubicSmoothAbs.y documentation>
setY ::
(MonadIO m) => SVGPathSegCurvetoCubicSmoothAbs -> Float -> m ()
setY self val = liftIO (js_setY self val)
foreign import javascript unsafe "(($1) => { return $1[\"y\"]; })" js_getY ::
SVGPathSegCurvetoCubicSmoothAbs -> IO Float
-- | <https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs.y Mozilla SVGPathSegCurvetoCubicSmoothAbs.y documentation>
getY :: (MonadIO m) => SVGPathSegCurvetoCubicSmoothAbs -> m Float
getY self = liftIO (js_getY self)
foreign import javascript unsafe "(($1, $2) => { $1[\"x2\"] = $2; })" js_setX2 ::
SVGPathSegCurvetoCubicSmoothAbs -> Float -> IO ()
-- | <https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs.x2 Mozilla SVGPathSegCurvetoCubicSmoothAbs.x2 documentation>
setX2 ::
(MonadIO m) => SVGPathSegCurvetoCubicSmoothAbs -> Float -> m ()
setX2 self val = liftIO (js_setX2 self val)
foreign import javascript unsafe "(($1) => { return $1[\"x2\"]; })" js_getX2 ::
SVGPathSegCurvetoCubicSmoothAbs -> IO Float
-- | <https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs.x2 Mozilla SVGPathSegCurvetoCubicSmoothAbs.x2 documentation>
getX2 :: (MonadIO m) => SVGPathSegCurvetoCubicSmoothAbs -> m Float
getX2 self = liftIO (js_getX2 self)
foreign import javascript unsafe "(($1, $2) => { $1[\"y2\"] = $2; })" js_setY2 ::
SVGPathSegCurvetoCubicSmoothAbs -> Float -> IO ()
-- | <https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs.y2 Mozilla SVGPathSegCurvetoCubicSmoothAbs.y2 documentation>
setY2 ::
(MonadIO m) => SVGPathSegCurvetoCubicSmoothAbs -> Float -> m ()
setY2 self val = liftIO (js_setY2 self val)
foreign import javascript unsafe "(($1) => { return $1[\"y2\"]; })" js_getY2 ::
SVGPathSegCurvetoCubicSmoothAbs -> IO Float
-- | <https://developer.mozilla.org/en-US/docs/Web/API/SVGPathSegCurvetoCubicSmoothAbs.y2 Mozilla SVGPathSegCurvetoCubicSmoothAbs.y2 documentation>
getY2 :: (MonadIO m) => SVGPathSegCurvetoCubicSmoothAbs -> m Float
getY2 self = liftIO (js_getY2 self)