Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newPath2D :: MonadDOM m => m Path2D
- newPath2D' :: MonadDOM m => Maybe Path2D -> m Path2D
- newPath2D'' :: (MonadDOM m, ToJSString text) => text -> m Path2D
- addPath :: MonadDOM m => Path2D -> Maybe Path2D -> Maybe SVGMatrix -> m ()
- closePath :: MonadDOM m => Path2D -> m ()
- moveTo :: MonadDOM m => Path2D -> Float -> Float -> m ()
- lineTo :: MonadDOM m => Path2D -> Float -> Float -> m ()
- quadraticCurveTo :: MonadDOM m => Path2D -> Float -> Float -> Float -> Float -> m ()
- bezierCurveTo :: MonadDOM m => Path2D -> Float -> Float -> Float -> Float -> Float -> Float -> m ()
- arcTo :: MonadDOM m => Path2D -> Float -> Float -> Float -> Float -> Float -> m ()
- rect :: MonadDOM m => Path2D -> Float -> Float -> Float -> Float -> m ()
- arc :: MonadDOM m => Path2D -> Float -> Float -> Float -> Float -> Float -> Bool -> m ()
- newtype Path2D = Path2D {}
- gTypePath2D :: JSM GType
Documentation
newPath2D'' :: (MonadDOM m, ToJSString text) => text -> m Path2D Source #
bezierCurveTo :: MonadDOM m => Path2D -> Float -> Float -> Float -> Float -> Float -> Float -> m () Source #
Functions for this inteface are in JSDOM.Path2D.
gTypePath2D :: JSM GType Source #