module JSDOM.Generated.SVGFilterElement
(setFilterRes, getFilterUnits, getPrimitiveUnits, getX, getY,
getWidth, getHeight, getFilterResX, getFilterResY,
SVGFilterElement(..), gTypeSVGFilterElement)
where
import Prelude ((.), (==), (>>=), return, IO, Int, Float, Double, Bool(..), Maybe, maybe, fromIntegral, round, realToFrac, fmap, Show, Read, Eq, Ord, Maybe(..))
import qualified Prelude (error)
import Data.Typeable (Typeable)
import Data.Traversable (mapM)
import Language.Javascript.JSaddle (JSM(..), JSVal(..), JSString, strictEqual, toJSVal, valToStr, valToNumber, valToBool, js, jss, jsf, jsg, function, asyncFunction, new, array, jsUndefined, (!), (!!))
import Data.Int (Int64)
import Data.Word (Word, Word64)
import JSDOM.Types
import Control.Applicative ((<$>))
import Control.Monad (void)
import Control.Lens.Operators ((^.))
import JSDOM.EventTargetClosures (EventName, unsafeEventName)
import JSDOM.Enums
setFilterRes ::
(MonadDOM m) =>
SVGFilterElement -> Maybe Word -> Maybe Word -> m ()
setFilterRes self filterResX filterResY
= liftDOM
(void
(self ^. jsf "setFilterRes"
[toJSVal filterResX, toJSVal filterResY]))
getFilterUnits ::
(MonadDOM m) => SVGFilterElement -> m SVGAnimatedEnumeration
getFilterUnits self
= liftDOM ((self ^. js "filterUnits") >>= fromJSValUnchecked)
getPrimitiveUnits ::
(MonadDOM m) => SVGFilterElement -> m SVGAnimatedEnumeration
getPrimitiveUnits self
= liftDOM ((self ^. js "primitiveUnits") >>= fromJSValUnchecked)
getX :: (MonadDOM m) => SVGFilterElement -> m SVGAnimatedLength
getX self = liftDOM ((self ^. js "x") >>= fromJSValUnchecked)
getY :: (MonadDOM m) => SVGFilterElement -> m SVGAnimatedLength
getY self = liftDOM ((self ^. js "y") >>= fromJSValUnchecked)
getWidth :: (MonadDOM m) => SVGFilterElement -> m SVGAnimatedLength
getWidth self
= liftDOM ((self ^. js "width") >>= fromJSValUnchecked)
getHeight ::
(MonadDOM m) => SVGFilterElement -> m SVGAnimatedLength
getHeight self
= liftDOM ((self ^. js "height") >>= fromJSValUnchecked)
getFilterResX ::
(MonadDOM m) => SVGFilterElement -> m SVGAnimatedInteger
getFilterResX self
= liftDOM ((self ^. js "filterResX") >>= fromJSValUnchecked)
getFilterResY ::
(MonadDOM m) => SVGFilterElement -> m SVGAnimatedInteger
getFilterResY self
= liftDOM ((self ^. js "filterResY") >>= fromJSValUnchecked)