Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- closePath :: (MonadDOM m, IsCanvasPath self) => self -> m ()
- moveTo :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> m ()
- lineTo :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> m ()
- quadraticCurveTo :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> m ()
- bezierCurveTo :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> Double -> Double -> m ()
- arcTo :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> Double -> m ()
- rect :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> m ()
- arc :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> Double -> Bool -> m ()
- ellipse :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> Double -> Double -> Double -> Bool -> m ()
- newtype CanvasPath = CanvasPath {}
- gTypeCanvasPath :: JSM GType
- class IsGObject o => IsCanvasPath o
- toCanvasPath :: IsCanvasPath o => o -> CanvasPath
Documentation
closePath :: (MonadDOM m, IsCanvasPath self) => self -> m () Source #
quadraticCurveTo :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> m () Source #
bezierCurveTo :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> Double -> Double -> m () Source #
arcTo :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> Double -> m () Source #
rect :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> m () Source #
arc :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> Double -> Bool -> m () Source #
ellipse :: (MonadDOM m, IsCanvasPath self) => self -> Double -> Double -> Double -> Double -> Double -> Double -> Double -> Bool -> m () Source #
newtype CanvasPath Source #
Functions for this inteface are in JSDOM.CanvasPath.
Instances
PToJSVal CanvasPath Source # | |
Defined in JSDOM.Types pToJSVal :: CanvasPath -> JSVal # | |
PFromJSVal CanvasPath Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> CanvasPath # | |
ToJSVal CanvasPath Source # | |
Defined in JSDOM.Types toJSVal :: CanvasPath -> JSM JSVal # toJSValListOf :: [CanvasPath] -> JSM JSVal # | |
FromJSVal CanvasPath Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe CanvasPath) # fromJSValUnchecked :: JSVal -> JSM CanvasPath # fromJSValListOf :: JSVal -> JSM (Maybe [CanvasPath]) # fromJSValUncheckedListOf :: JSVal -> JSM [CanvasPath] # | |
MakeObject CanvasPath Source # | |
Defined in JSDOM.Types makeObject :: CanvasPath -> JSM Object # | |
IsCanvasPath CanvasPath Source # | |
Defined in JSDOM.Types | |
IsGObject CanvasPath Source # | |
Defined in JSDOM.Types typeGType :: CanvasPath -> JSM GType |
class IsGObject o => IsCanvasPath o Source #
Instances
IsCanvasPath Path2D Source # | |
Defined in JSDOM.Types | |
IsCanvasPath CanvasRenderingContext2D Source # | |
Defined in JSDOM.Types | |
IsCanvasPath CanvasPath Source # | |
Defined in JSDOM.Types |
toCanvasPath :: IsCanvasPath o => o -> CanvasPath Source #