ghcjs-dom-javascript-0.10.0.0: src/GHCJS/DOM/JSFFI/Generated/SVGFEDisplacementMapElement.hs
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ForeignFunctionInterface, JavaScriptFFI #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- | Generated by dom-gen from filter-effects-1 (webref). Do not edit.
module GHCJS.DOM.JSFFI.Generated.SVGFEDisplacementMapElement
(js_getIn1, js_getIn2, js_getScale, js_getXChannelSelector, js_getYChannelSelector, getIn1, getIn2, getScale, getXChannelSelector, getYChannelSelector, pattern SVG_CHANNEL_UNKNOWN, pattern SVG_CHANNEL_R, pattern SVG_CHANNEL_G, pattern SVG_CHANNEL_B, pattern SVG_CHANNEL_A, SVGFEDisplacementMapElement(..), gTypeSVGFEDisplacementMapElement)
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
import qualified GHCJS.DOM.Types as Types
import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
import GHCJS.DOM.JSFFI.Generated.Enums
foreign import javascript unsafe "(($1) => { return $1[\"in1\"]; })"
js_getIn1 :: SVGFEDisplacementMapElement -> IO SVGAnimatedString
-- | <https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/in1 MDN SVGFEDisplacementMapElement.in1 documentation>
getIn1 :: (MonadDOM m) => SVGFEDisplacementMapElement -> m SVGAnimatedString
getIn1 self = liftDOM ((js_getIn1 (self)))
foreign import javascript unsafe "(($1) => { return $1[\"in2\"]; })"
js_getIn2 :: SVGFEDisplacementMapElement -> IO SVGAnimatedString
-- | <https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/in2 MDN SVGFEDisplacementMapElement.in2 documentation>
getIn2 :: (MonadDOM m) => SVGFEDisplacementMapElement -> m SVGAnimatedString
getIn2 self = liftDOM ((js_getIn2 (self)))
foreign import javascript unsafe "(($1) => { return $1[\"scale\"]; })"
js_getScale :: SVGFEDisplacementMapElement -> IO SVGAnimatedNumber
-- | <https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/scale MDN SVGFEDisplacementMapElement.scale documentation>
getScale :: (MonadDOM m) => SVGFEDisplacementMapElement -> m SVGAnimatedNumber
getScale self = liftDOM ((js_getScale (self)))
foreign import javascript unsafe "(($1) => { return $1[\"xChannelSelector\"]; })"
js_getXChannelSelector :: SVGFEDisplacementMapElement -> IO SVGAnimatedEnumeration
-- | <https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/xChannelSelector MDN SVGFEDisplacementMapElement.xChannelSelector documentation>
getXChannelSelector :: (MonadDOM m) => SVGFEDisplacementMapElement -> m SVGAnimatedEnumeration
getXChannelSelector self = liftDOM ((js_getXChannelSelector (self)))
foreign import javascript unsafe "(($1) => { return $1[\"yChannelSelector\"]; })"
js_getYChannelSelector :: SVGFEDisplacementMapElement -> IO SVGAnimatedEnumeration
-- | <https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/yChannelSelector MDN SVGFEDisplacementMapElement.yChannelSelector documentation>
getYChannelSelector :: (MonadDOM m) => SVGFEDisplacementMapElement -> m SVGAnimatedEnumeration
getYChannelSelector self = liftDOM ((js_getYChannelSelector (self)))
pattern SVG_CHANNEL_UNKNOWN = 0
pattern SVG_CHANNEL_R = 1
pattern SVG_CHANNEL_G = 2
pattern SVG_CHANNEL_B = 3
pattern SVG_CHANNEL_A = 4