Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newImageData :: (MonadDOM m, IsUint8ClampedArray data') => data' -> Word -> Maybe Word -> m ImageData
- newImageData' :: MonadDOM m => Word -> Word -> m ImageData
- getWidth :: MonadDOM m => ImageData -> m Word
- getHeight :: MonadDOM m => ImageData -> m Word
- getData :: MonadDOM m => ImageData -> m Uint8ClampedArray
- newtype ImageData = ImageData {
- unImageData :: JSVal
- gTypeImageData :: JSM GType
Documentation
newImageData :: (MonadDOM m, IsUint8ClampedArray data') => data' -> Word -> Maybe Word -> m ImageData Source #
Functions for this inteface are in JSDOM.ImageData.