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