ghcjs-dom-javascript-0.10.0.0: src/GHCJS/DOM/JSFFI/Generated/SVGTextPositioningElement.hs
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ForeignFunctionInterface, JavaScriptFFI #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- | Generated by dom-gen from SVG2 (webref). Do not edit.
module GHCJS.DOM.JSFFI.Generated.SVGTextPositioningElement
(js_getX, js_getY, js_getDx, js_getDy, js_getRotate, getX, getY, getDx, getDy, getRotate, SVGTextPositioningElement(..), gTypeSVGTextPositioningElement, IsSVGTextPositioningElement, toSVGTextPositioningElement)
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[\"x\"]; })"
js_getX :: SVGTextPositioningElement -> IO SVGAnimatedLengthList
-- | <https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/x MDN SVGTextPositioningElement.x documentation>
getX :: (MonadDOM m, IsSVGTextPositioningElement self) => self -> m SVGAnimatedLengthList
getX self = liftDOM ((js_getX ((Types.toSVGTextPositioningElement self))))
foreign import javascript unsafe "(($1) => { return $1[\"y\"]; })"
js_getY :: SVGTextPositioningElement -> IO SVGAnimatedLengthList
-- | <https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/y MDN SVGTextPositioningElement.y documentation>
getY :: (MonadDOM m, IsSVGTextPositioningElement self) => self -> m SVGAnimatedLengthList
getY self = liftDOM ((js_getY ((Types.toSVGTextPositioningElement self))))
foreign import javascript unsafe "(($1) => { return $1[\"dx\"]; })"
js_getDx :: SVGTextPositioningElement -> IO SVGAnimatedLengthList
-- | <https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/dx MDN SVGTextPositioningElement.dx documentation>
getDx :: (MonadDOM m, IsSVGTextPositioningElement self) => self -> m SVGAnimatedLengthList
getDx self = liftDOM ((js_getDx ((Types.toSVGTextPositioningElement self))))
foreign import javascript unsafe "(($1) => { return $1[\"dy\"]; })"
js_getDy :: SVGTextPositioningElement -> IO SVGAnimatedLengthList
-- | <https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/dy MDN SVGTextPositioningElement.dy documentation>
getDy :: (MonadDOM m, IsSVGTextPositioningElement self) => self -> m SVGAnimatedLengthList
getDy self = liftDOM ((js_getDy ((Types.toSVGTextPositioningElement self))))
foreign import javascript unsafe "(($1) => { return $1[\"rotate\"]; })"
js_getRotate :: SVGTextPositioningElement -> IO SVGAnimatedNumberList
-- | <https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/rotate MDN SVGTextPositioningElement.rotate documentation>
getRotate :: (MonadDOM m, IsSVGTextPositioningElement self) => self -> m SVGAnimatedNumberList
getRotate self = liftDOM ((js_getRotate ((Types.toSVGTextPositioningElement self))))