Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getContext :: (MonadDOM m, ToJSString contextId, ToJSVal arguments) => HTMLCanvasElement -> contextId -> [arguments] -> m (Maybe RenderingContext)
- getContext_ :: (MonadDOM m, ToJSString contextId, ToJSVal arguments) => HTMLCanvasElement -> contextId -> [arguments] -> m ()
- getContextUnsafe :: (MonadDOM m, ToJSString contextId, ToJSVal arguments, HasCallStack) => HTMLCanvasElement -> contextId -> [arguments] -> m RenderingContext
- getContextUnchecked :: (MonadDOM m, ToJSString contextId, ToJSVal arguments) => HTMLCanvasElement -> contextId -> [arguments] -> m RenderingContext
- toDataURL :: (MonadDOM m, ToJSString type', FromJSString result) => HTMLCanvasElement -> Maybe type' -> m result
- toDataURL_ :: (MonadDOM m, ToJSString type') => HTMLCanvasElement -> Maybe type' -> m ()
- toBlob' :: (MonadDOM m, ToJSString type', ToJSVal quality) => HTMLCanvasElement -> BlobCallback -> Maybe type' -> Maybe quality -> m ()
- captureStream :: MonadDOM m => HTMLCanvasElement -> Maybe Double -> m MediaStream
- captureStream_ :: MonadDOM m => HTMLCanvasElement -> Maybe Double -> m ()
- setWidth :: MonadDOM m => HTMLCanvasElement -> Word -> m ()
- getWidth :: MonadDOM m => HTMLCanvasElement -> m Word
- setHeight :: MonadDOM m => HTMLCanvasElement -> Word -> m ()
- getHeight :: MonadDOM m => HTMLCanvasElement -> m Word
- newtype HTMLCanvasElement = HTMLCanvasElement {}
- gTypeHTMLCanvasElement :: JSM GType
Documentation
getContext :: (MonadDOM m, ToJSString contextId, ToJSVal arguments) => HTMLCanvasElement -> contextId -> [arguments] -> m (Maybe RenderingContext) Source #
getContext_ :: (MonadDOM m, ToJSString contextId, ToJSVal arguments) => HTMLCanvasElement -> contextId -> [arguments] -> m () Source #
getContextUnsafe :: (MonadDOM m, ToJSString contextId, ToJSVal arguments, HasCallStack) => HTMLCanvasElement -> contextId -> [arguments] -> m RenderingContext Source #
getContextUnchecked :: (MonadDOM m, ToJSString contextId, ToJSVal arguments) => HTMLCanvasElement -> contextId -> [arguments] -> m RenderingContext Source #
toDataURL :: (MonadDOM m, ToJSString type', FromJSString result) => HTMLCanvasElement -> Maybe type' -> m result Source #
toDataURL_ :: (MonadDOM m, ToJSString type') => HTMLCanvasElement -> Maybe type' -> m () Source #
toBlob' :: (MonadDOM m, ToJSString type', ToJSVal quality) => HTMLCanvasElement -> BlobCallback -> Maybe type' -> Maybe quality -> m () Source #
captureStream :: MonadDOM m => HTMLCanvasElement -> Maybe Double -> m MediaStream Source #
captureStream_ :: MonadDOM m => HTMLCanvasElement -> Maybe Double -> m () Source #
newtype HTMLCanvasElement Source #
Functions for this inteface are in JSDOM.HTMLCanvasElement. Base interface functions are in: