Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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.
Instances
PToJSVal ImageData Source # | |
Defined in JSDOM.Types | |
PFromJSVal ImageData Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> ImageData # | |
ToJSVal ImageData Source # | |
FromJSVal ImageData Source # | |
MakeObject ImageData Source # | |
Defined in JSDOM.Types makeObject :: ImageData -> JSM Object # | |
IsTexImageSource ImageData Source # | |
Defined in JSDOM.Types | |
IsGObject ImageData Source # | |
Defined in JSDOM.Types |