module JSDOM.Generated.SVGFESpotLightElement
(getX, getXUnsafe, getXUnchecked, getY, getYUnsafe, getYUnchecked,
getZ, getZUnsafe, getZUnchecked, getPointsAtX, getPointsAtXUnsafe,
getPointsAtXUnchecked, getPointsAtY, getPointsAtYUnsafe,
getPointsAtYUnchecked, getPointsAtZ, getPointsAtZUnsafe,
getPointsAtZUnchecked, getSpecularExponent,
getSpecularExponentUnsafe, getSpecularExponentUnchecked,
getLimitingConeAngle, getLimitingConeAngleUnsafe,
getLimitingConeAngleUnchecked, SVGFESpotLightElement(..),
gTypeSVGFESpotLightElement)
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 Language.Javascript.JSaddle (JSM(..), JSVal(..), JSString, strictEqual, toJSVal, valToStr, valToNumber, valToBool, js, jss, jsf, jsg, function, new, array)
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
getX ::
(MonadDOM m) =>
SVGFESpotLightElement -> m (Maybe SVGAnimatedNumber)
getX self = liftDOM ((self ^. js "x") >>= fromJSVal)
getXUnsafe ::
(MonadDOM m, HasCallStack) =>
SVGFESpotLightElement -> m SVGAnimatedNumber
getXUnsafe self
= liftDOM
(((self ^. js "x") >>= fromJSVal) >>=
maybe (Prelude.error "Nothing to return") return)
getXUnchecked ::
(MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getXUnchecked self
= liftDOM ((self ^. js "x") >>= fromJSValUnchecked)
getY ::
(MonadDOM m) =>
SVGFESpotLightElement -> m (Maybe SVGAnimatedNumber)
getY self = liftDOM ((self ^. js "y") >>= fromJSVal)
getYUnsafe ::
(MonadDOM m, HasCallStack) =>
SVGFESpotLightElement -> m SVGAnimatedNumber
getYUnsafe self
= liftDOM
(((self ^. js "y") >>= fromJSVal) >>=
maybe (Prelude.error "Nothing to return") return)
getYUnchecked ::
(MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getYUnchecked self
= liftDOM ((self ^. js "y") >>= fromJSValUnchecked)
getZ ::
(MonadDOM m) =>
SVGFESpotLightElement -> m (Maybe SVGAnimatedNumber)
getZ self = liftDOM ((self ^. js "z") >>= fromJSVal)
getZUnsafe ::
(MonadDOM m, HasCallStack) =>
SVGFESpotLightElement -> m SVGAnimatedNumber
getZUnsafe self
= liftDOM
(((self ^. js "z") >>= fromJSVal) >>=
maybe (Prelude.error "Nothing to return") return)
getZUnchecked ::
(MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getZUnchecked self
= liftDOM ((self ^. js "z") >>= fromJSValUnchecked)
getPointsAtX ::
(MonadDOM m) =>
SVGFESpotLightElement -> m (Maybe SVGAnimatedNumber)
getPointsAtX self
= liftDOM ((self ^. js "pointsAtX") >>= fromJSVal)
getPointsAtXUnsafe ::
(MonadDOM m, HasCallStack) =>
SVGFESpotLightElement -> m SVGAnimatedNumber
getPointsAtXUnsafe self
= liftDOM
(((self ^. js "pointsAtX") >>= fromJSVal) >>=
maybe (Prelude.error "Nothing to return") return)
getPointsAtXUnchecked ::
(MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getPointsAtXUnchecked self
= liftDOM ((self ^. js "pointsAtX") >>= fromJSValUnchecked)
getPointsAtY ::
(MonadDOM m) =>
SVGFESpotLightElement -> m (Maybe SVGAnimatedNumber)
getPointsAtY self
= liftDOM ((self ^. js "pointsAtY") >>= fromJSVal)
getPointsAtYUnsafe ::
(MonadDOM m, HasCallStack) =>
SVGFESpotLightElement -> m SVGAnimatedNumber
getPointsAtYUnsafe self
= liftDOM
(((self ^. js "pointsAtY") >>= fromJSVal) >>=
maybe (Prelude.error "Nothing to return") return)
getPointsAtYUnchecked ::
(MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getPointsAtYUnchecked self
= liftDOM ((self ^. js "pointsAtY") >>= fromJSValUnchecked)
getPointsAtZ ::
(MonadDOM m) =>
SVGFESpotLightElement -> m (Maybe SVGAnimatedNumber)
getPointsAtZ self
= liftDOM ((self ^. js "pointsAtZ") >>= fromJSVal)
getPointsAtZUnsafe ::
(MonadDOM m, HasCallStack) =>
SVGFESpotLightElement -> m SVGAnimatedNumber
getPointsAtZUnsafe self
= liftDOM
(((self ^. js "pointsAtZ") >>= fromJSVal) >>=
maybe (Prelude.error "Nothing to return") return)
getPointsAtZUnchecked ::
(MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getPointsAtZUnchecked self
= liftDOM ((self ^. js "pointsAtZ") >>= fromJSValUnchecked)
getSpecularExponent ::
(MonadDOM m) =>
SVGFESpotLightElement -> m (Maybe SVGAnimatedNumber)
getSpecularExponent self
= liftDOM ((self ^. js "specularExponent") >>= fromJSVal)
getSpecularExponentUnsafe ::
(MonadDOM m, HasCallStack) =>
SVGFESpotLightElement -> m SVGAnimatedNumber
getSpecularExponentUnsafe self
= liftDOM
(((self ^. js "specularExponent") >>= fromJSVal) >>=
maybe (Prelude.error "Nothing to return") return)
getSpecularExponentUnchecked ::
(MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getSpecularExponentUnchecked self
= liftDOM ((self ^. js "specularExponent") >>= fromJSValUnchecked)
getLimitingConeAngle ::
(MonadDOM m) =>
SVGFESpotLightElement -> m (Maybe SVGAnimatedNumber)
getLimitingConeAngle self
= liftDOM ((self ^. js "limitingConeAngle") >>= fromJSVal)
getLimitingConeAngleUnsafe ::
(MonadDOM m, HasCallStack) =>
SVGFESpotLightElement -> m SVGAnimatedNumber
getLimitingConeAngleUnsafe self
= liftDOM
(((self ^. js "limitingConeAngle") >>= fromJSVal) >>=
maybe (Prelude.error "Nothing to return") return)
getLimitingConeAngleUnchecked ::
(MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getLimitingConeAngleUnchecked self
= liftDOM ((self ^. js "limitingConeAngle") >>= fromJSValUnchecked)