{-# LANGUAGE PatternSynonyms, ForeignFunctionInterface, JavaScriptFFI #-} module GHCJS.DOM.JSFFI.Generated.SVGFEDiffuseLightingElement (js_getIn1, getIn1, getIn1Unchecked, js_getSurfaceScale, getSurfaceScale, getSurfaceScaleUnchecked, js_getDiffuseConstant, getDiffuseConstant, getDiffuseConstantUnchecked, js_getKernelUnitLengthX, getKernelUnitLengthX, getKernelUnitLengthXUnchecked, js_getKernelUnitLengthY, getKernelUnitLengthY, getKernelUnitLengthYUnchecked, SVGFEDiffuseLightingElement, castToSVGFEDiffuseLightingElement, gTypeSVGFEDiffuseLightingElement) where import Prelude ((.), (==), (>>=), return, IO, Int, Float, Double, Bool(..), Maybe, maybe, fromIntegral, round, fmap, Show, Read, Eq, Ord) import Data.Typeable (Typeable) import GHCJS.Types (JSVal(..), JSString) import GHCJS.Foreign (jsNull) import GHCJS.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 GHCJS.DOM.Types import Control.Applicative ((<$>)) import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName) import GHCJS.DOM.JSFFI.Generated.Enums foreign import javascript unsafe "$1[\"in1\"]" js_getIn1 :: SVGFEDiffuseLightingElement -> IO (Nullable SVGAnimatedString) -- | getIn1 :: (MonadIO m) => SVGFEDiffuseLightingElement -> m (Maybe SVGAnimatedString) getIn1 self = liftIO (nullableToMaybe <$> (js_getIn1 (self))) -- | getIn1Unchecked :: (MonadIO m) => SVGFEDiffuseLightingElement -> m SVGAnimatedString getIn1Unchecked self = liftIO (fromJust . nullableToMaybe <$> (js_getIn1 (self))) foreign import javascript unsafe "$1[\"surfaceScale\"]" js_getSurfaceScale :: SVGFEDiffuseLightingElement -> IO (Nullable SVGAnimatedNumber) -- | getSurfaceScale :: (MonadIO m) => SVGFEDiffuseLightingElement -> m (Maybe SVGAnimatedNumber) getSurfaceScale self = liftIO (nullableToMaybe <$> (js_getSurfaceScale (self))) -- | getSurfaceScaleUnchecked :: (MonadIO m) => SVGFEDiffuseLightingElement -> m SVGAnimatedNumber getSurfaceScaleUnchecked self = liftIO (fromJust . nullableToMaybe <$> (js_getSurfaceScale (self))) foreign import javascript unsafe "$1[\"diffuseConstant\"]" js_getDiffuseConstant :: SVGFEDiffuseLightingElement -> IO (Nullable SVGAnimatedNumber) -- | getDiffuseConstant :: (MonadIO m) => SVGFEDiffuseLightingElement -> m (Maybe SVGAnimatedNumber) getDiffuseConstant self = liftIO (nullableToMaybe <$> (js_getDiffuseConstant (self))) -- | getDiffuseConstantUnchecked :: (MonadIO m) => SVGFEDiffuseLightingElement -> m SVGAnimatedNumber getDiffuseConstantUnchecked self = liftIO (fromJust . nullableToMaybe <$> (js_getDiffuseConstant (self))) foreign import javascript unsafe "$1[\"kernelUnitLengthX\"]" js_getKernelUnitLengthX :: SVGFEDiffuseLightingElement -> IO (Nullable SVGAnimatedNumber) -- | getKernelUnitLengthX :: (MonadIO m) => SVGFEDiffuseLightingElement -> m (Maybe SVGAnimatedNumber) getKernelUnitLengthX self = liftIO (nullableToMaybe <$> (js_getKernelUnitLengthX (self))) -- | getKernelUnitLengthXUnchecked :: (MonadIO m) => SVGFEDiffuseLightingElement -> m SVGAnimatedNumber getKernelUnitLengthXUnchecked self = liftIO (fromJust . nullableToMaybe <$> (js_getKernelUnitLengthX (self))) foreign import javascript unsafe "$1[\"kernelUnitLengthY\"]" js_getKernelUnitLengthY :: SVGFEDiffuseLightingElement -> IO (Nullable SVGAnimatedNumber) -- | getKernelUnitLengthY :: (MonadIO m) => SVGFEDiffuseLightingElement -> m (Maybe SVGAnimatedNumber) getKernelUnitLengthY self = liftIO (nullableToMaybe <$> (js_getKernelUnitLengthY (self))) -- | getKernelUnitLengthYUnchecked :: (MonadIO m) => SVGFEDiffuseLightingElement -> m SVGAnimatedNumber getKernelUnitLengthYUnchecked self = liftIO (fromJust . nullableToMaybe <$> (js_getKernelUnitLengthY (self)))