{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module JSDOM.Generated.SVGFEConvolveMatrixElement
(pattern SVG_EDGEMODE_UNKNOWN, pattern SVG_EDGEMODE_DUPLICATE,
pattern SVG_EDGEMODE_WRAP, pattern SVG_EDGEMODE_NONE, getIn1,
getOrderX, getOrderY, getKernelMatrix, getDivisor, getBias,
getTargetX, getTargetY, getEdgeMode, getKernelUnitLengthX,
getKernelUnitLengthY, getPreserveAlpha,
SVGFEConvolveMatrixElement(..), gTypeSVGFEConvolveMatrixElement)
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, unsafeEventNameAsync)
import JSDOM.Enums
pattern SVG_EDGEMODE_UNKNOWN = 0
pattern SVG_EDGEMODE_DUPLICATE = 1
pattern SVG_EDGEMODE_WRAP = 2
pattern SVG_EDGEMODE_NONE = 3
getIn1 ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedString
getIn1 self = liftDOM ((self ^. js "in1") >>= fromJSValUnchecked)
getOrderX ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedInteger
getOrderX self
= liftDOM ((self ^. js "orderX") >>= fromJSValUnchecked)
getOrderY ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedInteger
getOrderY self
= liftDOM ((self ^. js "orderY") >>= fromJSValUnchecked)
getKernelMatrix ::
(MonadDOM m) =>
SVGFEConvolveMatrixElement -> m SVGAnimatedNumberList
getKernelMatrix self
= liftDOM ((self ^. js "kernelMatrix") >>= fromJSValUnchecked)
getDivisor ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedNumber
getDivisor self
= liftDOM ((self ^. js "divisor") >>= fromJSValUnchecked)
getBias ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedNumber
getBias self = liftDOM ((self ^. js "bias") >>= fromJSValUnchecked)
getTargetX ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedInteger
getTargetX self
= liftDOM ((self ^. js "targetX") >>= fromJSValUnchecked)
getTargetY ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedInteger
getTargetY self
= liftDOM ((self ^. js "targetY") >>= fromJSValUnchecked)
getEdgeMode ::
(MonadDOM m) =>
SVGFEConvolveMatrixElement -> m SVGAnimatedEnumeration
getEdgeMode self
= liftDOM ((self ^. js "edgeMode") >>= fromJSValUnchecked)
getKernelUnitLengthX ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedNumber
getKernelUnitLengthX self
= liftDOM ((self ^. js "kernelUnitLengthX") >>= fromJSValUnchecked)
getKernelUnitLengthY ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedNumber
getKernelUnitLengthY self
= liftDOM ((self ^. js "kernelUnitLengthY") >>= fromJSValUnchecked)
getPreserveAlpha ::
(MonadDOM m) => SVGFEConvolveMatrixElement -> m SVGAnimatedBoolean
getPreserveAlpha self
= liftDOM ((self ^. js "preserveAlpha") >>= fromJSValUnchecked)