Safe Haskell | None |
---|---|
Language | Haskell2010 |
- save :: MonadDOM m => CanvasRenderingContext2D -> m ()
- restore :: MonadDOM m => CanvasRenderingContext2D -> m ()
- commit :: MonadDOM m => CanvasRenderingContext2D -> m ()
- scale :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m ()
- rotate :: MonadDOM m => CanvasRenderingContext2D -> Float -> m ()
- translate :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m ()
- transform :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> m ()
- setTransform :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> m ()
- resetTransform :: MonadDOM m => CanvasRenderingContext2D -> m ()
- setLineDash :: MonadDOM m => CanvasRenderingContext2D -> [Float] -> m ()
- getLineDash :: MonadDOM m => CanvasRenderingContext2D -> m [Float]
- getLineDash_ :: MonadDOM m => CanvasRenderingContext2D -> m ()
- clearRect :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ()
- fillRect :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ()
- beginPath :: MonadDOM m => CanvasRenderingContext2D -> m ()
- fillPath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Maybe CanvasWindingRule -> m ()
- strokePath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> m ()
- clipPath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Maybe CanvasWindingRule -> m ()
- fill :: MonadDOM m => CanvasRenderingContext2D -> Maybe CanvasWindingRule -> m ()
- stroke :: MonadDOM m => CanvasRenderingContext2D -> m ()
- clip :: MonadDOM m => CanvasRenderingContext2D -> Maybe CanvasWindingRule -> m ()
- isPointInPathPath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Float -> Float -> Maybe CanvasWindingRule -> m Bool
- isPointInPathPath_ :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Float -> Float -> Maybe CanvasWindingRule -> m ()
- isPointInStrokePath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Float -> Float -> m Bool
- isPointInStrokePath_ :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Float -> Float -> m ()
- isPointInPath :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Maybe CanvasWindingRule -> m Bool
- isPointInPath_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Maybe CanvasWindingRule -> m ()
- isPointInStroke :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m Bool
- isPointInStroke_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m ()
- measureText :: (MonadDOM m, ToJSString text) => CanvasRenderingContext2D -> text -> m TextMetrics
- measureText_ :: (MonadDOM m, ToJSString text) => CanvasRenderingContext2D -> text -> m ()
- setAlpha :: MonadDOM m => CanvasRenderingContext2D -> Maybe Float -> m ()
- setCompositeOperation :: (MonadDOM m, ToJSString compositeOperation) => CanvasRenderingContext2D -> Maybe compositeOperation -> m ()
- setLineWidthFunction :: MonadDOM m => CanvasRenderingContext2D -> Maybe Float -> m ()
- setLineCapFunction :: (MonadDOM m, ToJSString cap) => CanvasRenderingContext2D -> Maybe cap -> m ()
- setLineJoinFunction :: (MonadDOM m, ToJSString join) => CanvasRenderingContext2D -> Maybe join -> m ()
- setMiterLimitFunction :: MonadDOM m => CanvasRenderingContext2D -> Maybe Float -> m ()
- clearShadow :: MonadDOM m => CanvasRenderingContext2D -> m ()
- fillText :: (MonadDOM m, ToJSString text) => CanvasRenderingContext2D -> text -> Float -> Float -> Maybe Float -> m ()
- strokeText :: (MonadDOM m, ToJSString text) => CanvasRenderingContext2D -> text -> Float -> Float -> Maybe Float -> m ()
- setStrokeColor :: (MonadDOM m, ToJSString color) => CanvasRenderingContext2D -> color -> Maybe Float -> m ()
- setStrokeColorGray :: MonadDOM m => CanvasRenderingContext2D -> Float -> Maybe Float -> m ()
- setStrokeColorRGB :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ()
- setStrokeColorCYMK :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> m ()
- setFillColor :: (MonadDOM m, ToJSString color) => CanvasRenderingContext2D -> color -> Maybe Float -> m ()
- setFillColorGray :: MonadDOM m => CanvasRenderingContext2D -> Float -> Maybe Float -> m ()
- setFillColorRGB :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ()
- setFillColorCYMK :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> m ()
- strokeRect :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ()
- drawImage :: (MonadDOM m, IsCanvasImageSource image) => CanvasRenderingContext2D -> image -> Float -> Float -> m ()
- drawImageScaled :: (MonadDOM m, IsCanvasImageSource image) => CanvasRenderingContext2D -> image -> Float -> Float -> Float -> Float -> m ()
- drawImagePart :: (MonadDOM m, IsCanvasImageSource image) => CanvasRenderingContext2D -> image -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> m ()
- drawImageFromRect :: (MonadDOM m, ToJSString compositeOperation) => CanvasRenderingContext2D -> HTMLImageElement -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe compositeOperation -> m ()
- setShadow :: (MonadDOM m, ToJSString color) => CanvasRenderingContext2D -> Float -> Float -> Float -> Maybe color -> Maybe Float -> m ()
- setShadowGray :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Maybe Float -> m ()
- setShadowRGB :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> m ()
- setShadowCYMK :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> m ()
- putImageData :: MonadDOM m => CanvasRenderingContext2D -> ImageData -> Float -> Float -> m ()
- putImageDataDirty :: MonadDOM m => CanvasRenderingContext2D -> ImageData -> Float -> Float -> Float -> Float -> Float -> Float -> m ()
- webkitPutImageDataHD :: MonadDOM m => CanvasRenderingContext2D -> ImageData -> Float -> Float -> m ()
- webkitPutImageDataHDDirty :: MonadDOM m => CanvasRenderingContext2D -> ImageData -> Float -> Float -> Float -> Float -> Float -> Float -> m ()
- createImageData :: MonadDOM m => CanvasRenderingContext2D -> Maybe ImageData -> m ImageData
- createImageData_ :: MonadDOM m => CanvasRenderingContext2D -> Maybe ImageData -> m ()
- createImageDataSize :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m ImageData
- createImageDataSize_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m ()
- createLinearGradient :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m CanvasGradient
- createLinearGradient_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ()
- createRadialGradient :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> m CanvasGradient
- createRadialGradient_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> m ()
- createPattern :: (MonadDOM m, IsCanvasImageSource image, ToJSString repetition) => CanvasRenderingContext2D -> image -> repetition -> m (Maybe CanvasPattern)
- createPattern_ :: (MonadDOM m, IsCanvasImageSource image, ToJSString repetition) => CanvasRenderingContext2D -> image -> repetition -> m ()
- createPatternUnsafe :: (MonadDOM m, IsCanvasImageSource image, ToJSString repetition, HasCallStack) => CanvasRenderingContext2D -> image -> repetition -> m CanvasPattern
- createPatternUnchecked :: (MonadDOM m, IsCanvasImageSource image, ToJSString repetition) => CanvasRenderingContext2D -> image -> repetition -> m CanvasPattern
- getImageData :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ImageData
- getImageData_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ()
- webkitGetImageDataHD :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ImageData
- webkitGetImageDataHD_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ()
- drawFocusIfNeeded :: (MonadDOM m, IsElement element) => CanvasRenderingContext2D -> element -> m ()
- drawFocusIfNeededPath :: (MonadDOM m, IsElement element) => CanvasRenderingContext2D -> Path2D -> element -> m ()
- getCanvas :: MonadDOM m => CanvasRenderingContext2D -> m HTMLCanvasElement
- setGlobalAlpha :: MonadDOM m => CanvasRenderingContext2D -> Float -> m ()
- getGlobalAlpha :: MonadDOM m => CanvasRenderingContext2D -> m Float
- setGlobalCompositeOperation :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m ()
- getGlobalCompositeOperation :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result
- setLineWidth :: MonadDOM m => CanvasRenderingContext2D -> Float -> m ()
- getLineWidth :: MonadDOM m => CanvasRenderingContext2D -> m Float
- setLineCap :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m ()
- getLineCap :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result
- setLineJoin :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m ()
- getLineJoin :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result
- setMiterLimit :: MonadDOM m => CanvasRenderingContext2D -> Float -> m ()
- getMiterLimit :: MonadDOM m => CanvasRenderingContext2D -> m Float
- setShadowOffsetX :: MonadDOM m => CanvasRenderingContext2D -> Float -> m ()
- getShadowOffsetX :: MonadDOM m => CanvasRenderingContext2D -> m Float
- setShadowOffsetY :: MonadDOM m => CanvasRenderingContext2D -> Float -> m ()
- getShadowOffsetY :: MonadDOM m => CanvasRenderingContext2D -> m Float
- setShadowBlur :: MonadDOM m => CanvasRenderingContext2D -> Float -> m ()
- getShadowBlur :: MonadDOM m => CanvasRenderingContext2D -> m Float
- setShadowColor :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m ()
- getShadowColor :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result
- setLineDashOffset :: MonadDOM m => CanvasRenderingContext2D -> Float -> m ()
- getLineDashOffset :: MonadDOM m => CanvasRenderingContext2D -> m Float
- setWebkitLineDash :: MonadDOM m => CanvasRenderingContext2D -> [Float] -> m ()
- getWebkitLineDash :: MonadDOM m => CanvasRenderingContext2D -> m [Float]
- setWebkitLineDashOffset :: MonadDOM m => CanvasRenderingContext2D -> Float -> m ()
- getWebkitLineDashOffset :: MonadDOM m => CanvasRenderingContext2D -> m Float
- setFont :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m ()
- getFont :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result
- setTextAlign :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m ()
- getTextAlign :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result
- setTextBaseline :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m ()
- getTextBaseline :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result
- setDirection :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m ()
- getDirection :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result
- setStrokeStyle :: (MonadDOM m, IsCanvasStyle val) => CanvasRenderingContext2D -> val -> m ()
- getStrokeStyle :: MonadDOM m => CanvasRenderingContext2D -> m CanvasStyle
- setFillStyle :: (MonadDOM m, IsCanvasStyle val) => CanvasRenderingContext2D -> val -> m ()
- getFillStyle :: MonadDOM m => CanvasRenderingContext2D -> m CanvasStyle
- getWebkitBackingStorePixelRatio :: MonadDOM m => CanvasRenderingContext2D -> m Float
- setImageSmoothingEnabled :: MonadDOM m => CanvasRenderingContext2D -> Bool -> m ()
- getImageSmoothingEnabled :: MonadDOM m => CanvasRenderingContext2D -> m Bool
- setWebkitImageSmoothingEnabled :: MonadDOM m => CanvasRenderingContext2D -> Bool -> m ()
- getWebkitImageSmoothingEnabled :: MonadDOM m => CanvasRenderingContext2D -> m Bool
- setImageSmoothingQuality :: MonadDOM m => CanvasRenderingContext2D -> ImageSmoothingQuality -> m ()
- getImageSmoothingQuality :: MonadDOM m => CanvasRenderingContext2D -> m ImageSmoothingQuality
- newtype CanvasRenderingContext2D = CanvasRenderingContext2D {}
- gTypeCanvasRenderingContext2D :: JSM GType
Documentation
save :: MonadDOM m => CanvasRenderingContext2D -> m () Source #
restore :: MonadDOM m => CanvasRenderingContext2D -> m () Source #
commit :: MonadDOM m => CanvasRenderingContext2D -> m () Source #
transform :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> m () Source #
setTransform :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> m () Source #
resetTransform :: MonadDOM m => CanvasRenderingContext2D -> m () Source #
setLineDash :: MonadDOM m => CanvasRenderingContext2D -> [Float] -> m () Source #
getLineDash :: MonadDOM m => CanvasRenderingContext2D -> m [Float] Source #
getLineDash_ :: MonadDOM m => CanvasRenderingContext2D -> m () Source #
clearRect :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m () Source #
fillRect :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m () Source #
beginPath :: MonadDOM m => CanvasRenderingContext2D -> m () Source #
fillPath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Maybe CanvasWindingRule -> m () Source #
strokePath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> m () Source #
clipPath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Maybe CanvasWindingRule -> m () Source #
fill :: MonadDOM m => CanvasRenderingContext2D -> Maybe CanvasWindingRule -> m () Source #
stroke :: MonadDOM m => CanvasRenderingContext2D -> m () Source #
clip :: MonadDOM m => CanvasRenderingContext2D -> Maybe CanvasWindingRule -> m () Source #
isPointInPathPath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Float -> Float -> Maybe CanvasWindingRule -> m Bool Source #
isPointInPathPath_ :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Float -> Float -> Maybe CanvasWindingRule -> m () Source #
isPointInStrokePath :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Float -> Float -> m Bool Source #
isPointInStrokePath_ :: MonadDOM m => CanvasRenderingContext2D -> Path2D -> Float -> Float -> m () Source #
isPointInPath :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Maybe CanvasWindingRule -> m Bool Source #
isPointInPath_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Maybe CanvasWindingRule -> m () Source #
isPointInStroke :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m Bool Source #
isPointInStroke_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m () Source #
measureText :: (MonadDOM m, ToJSString text) => CanvasRenderingContext2D -> text -> m TextMetrics Source #
measureText_ :: (MonadDOM m, ToJSString text) => CanvasRenderingContext2D -> text -> m () Source #
setCompositeOperation :: (MonadDOM m, ToJSString compositeOperation) => CanvasRenderingContext2D -> Maybe compositeOperation -> m () Source #
setLineWidthFunction :: MonadDOM m => CanvasRenderingContext2D -> Maybe Float -> m () Source #
setLineCapFunction :: (MonadDOM m, ToJSString cap) => CanvasRenderingContext2D -> Maybe cap -> m () Source #
setLineJoinFunction :: (MonadDOM m, ToJSString join) => CanvasRenderingContext2D -> Maybe join -> m () Source #
setMiterLimitFunction :: MonadDOM m => CanvasRenderingContext2D -> Maybe Float -> m () Source #
clearShadow :: MonadDOM m => CanvasRenderingContext2D -> m () Source #
fillText :: (MonadDOM m, ToJSString text) => CanvasRenderingContext2D -> text -> Float -> Float -> Maybe Float -> m () Source #
strokeText :: (MonadDOM m, ToJSString text) => CanvasRenderingContext2D -> text -> Float -> Float -> Maybe Float -> m () Source #
setStrokeColor :: (MonadDOM m, ToJSString color) => CanvasRenderingContext2D -> color -> Maybe Float -> m () Source #
setStrokeColorGray :: MonadDOM m => CanvasRenderingContext2D -> Float -> Maybe Float -> m () Source #
setStrokeColorRGB :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m () Source #
setStrokeColorCYMK :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> m () Source #
setFillColor :: (MonadDOM m, ToJSString color) => CanvasRenderingContext2D -> color -> Maybe Float -> m () Source #
setFillColorGray :: MonadDOM m => CanvasRenderingContext2D -> Float -> Maybe Float -> m () Source #
setFillColorRGB :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m () Source #
setFillColorCYMK :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> m () Source #
strokeRect :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m () Source #
drawImage :: (MonadDOM m, IsCanvasImageSource image) => CanvasRenderingContext2D -> image -> Float -> Float -> m () Source #
drawImageScaled :: (MonadDOM m, IsCanvasImageSource image) => CanvasRenderingContext2D -> image -> Float -> Float -> Float -> Float -> m () Source #
drawImagePart :: (MonadDOM m, IsCanvasImageSource image) => CanvasRenderingContext2D -> image -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> m () Source #
drawImageFromRect :: (MonadDOM m, ToJSString compositeOperation) => CanvasRenderingContext2D -> HTMLImageElement -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe Float -> Maybe compositeOperation -> m () Source #
setShadow :: (MonadDOM m, ToJSString color) => CanvasRenderingContext2D -> Float -> Float -> Float -> Maybe color -> Maybe Float -> m () Source #
setShadowGray :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Maybe Float -> m () Source #
setShadowRGB :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> m () Source #
setShadowCYMK :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> Float -> m () Source #
putImageData :: MonadDOM m => CanvasRenderingContext2D -> ImageData -> Float -> Float -> m () Source #
putImageDataDirty :: MonadDOM m => CanvasRenderingContext2D -> ImageData -> Float -> Float -> Float -> Float -> Float -> Float -> m () Source #
webkitPutImageDataHD :: MonadDOM m => CanvasRenderingContext2D -> ImageData -> Float -> Float -> m () Source #
webkitPutImageDataHDDirty :: MonadDOM m => CanvasRenderingContext2D -> ImageData -> Float -> Float -> Float -> Float -> Float -> Float -> m () Source #
createImageData :: MonadDOM m => CanvasRenderingContext2D -> Maybe ImageData -> m ImageData Source #
createImageData_ :: MonadDOM m => CanvasRenderingContext2D -> Maybe ImageData -> m () Source #
createImageDataSize :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m ImageData Source #
createImageDataSize_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> m () Source #
createLinearGradient :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m CanvasGradient Source #
createLinearGradient_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m () Source #
createRadialGradient :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> m CanvasGradient Source #
createRadialGradient_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> Float -> Float -> m () Source #
createPattern :: (MonadDOM m, IsCanvasImageSource image, ToJSString repetition) => CanvasRenderingContext2D -> image -> repetition -> m (Maybe CanvasPattern) Source #
createPattern_ :: (MonadDOM m, IsCanvasImageSource image, ToJSString repetition) => CanvasRenderingContext2D -> image -> repetition -> m () Source #
createPatternUnsafe :: (MonadDOM m, IsCanvasImageSource image, ToJSString repetition, HasCallStack) => CanvasRenderingContext2D -> image -> repetition -> m CanvasPattern Source #
createPatternUnchecked :: (MonadDOM m, IsCanvasImageSource image, ToJSString repetition) => CanvasRenderingContext2D -> image -> repetition -> m CanvasPattern Source #
getImageData :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ImageData Source #
getImageData_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m () Source #
webkitGetImageDataHD :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m ImageData Source #
webkitGetImageDataHD_ :: MonadDOM m => CanvasRenderingContext2D -> Float -> Float -> Float -> Float -> m () Source #
drawFocusIfNeeded :: (MonadDOM m, IsElement element) => CanvasRenderingContext2D -> element -> m () Source #
drawFocusIfNeededPath :: (MonadDOM m, IsElement element) => CanvasRenderingContext2D -> Path2D -> element -> m () Source #
getCanvas :: MonadDOM m => CanvasRenderingContext2D -> m HTMLCanvasElement Source #
setGlobalAlpha :: MonadDOM m => CanvasRenderingContext2D -> Float -> m () Source #
getGlobalAlpha :: MonadDOM m => CanvasRenderingContext2D -> m Float Source #
setGlobalCompositeOperation :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m () Source #
getGlobalCompositeOperation :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result Source #
setLineWidth :: MonadDOM m => CanvasRenderingContext2D -> Float -> m () Source #
getLineWidth :: MonadDOM m => CanvasRenderingContext2D -> m Float Source #
setLineCap :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m () Source #
getLineCap :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result Source #
setLineJoin :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m () Source #
getLineJoin :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result Source #
setMiterLimit :: MonadDOM m => CanvasRenderingContext2D -> Float -> m () Source #
getMiterLimit :: MonadDOM m => CanvasRenderingContext2D -> m Float Source #
setShadowOffsetX :: MonadDOM m => CanvasRenderingContext2D -> Float -> m () Source #
getShadowOffsetX :: MonadDOM m => CanvasRenderingContext2D -> m Float Source #
setShadowOffsetY :: MonadDOM m => CanvasRenderingContext2D -> Float -> m () Source #
getShadowOffsetY :: MonadDOM m => CanvasRenderingContext2D -> m Float Source #
setShadowBlur :: MonadDOM m => CanvasRenderingContext2D -> Float -> m () Source #
getShadowBlur :: MonadDOM m => CanvasRenderingContext2D -> m Float Source #
setShadowColor :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m () Source #
getShadowColor :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result Source #
setLineDashOffset :: MonadDOM m => CanvasRenderingContext2D -> Float -> m () Source #
getLineDashOffset :: MonadDOM m => CanvasRenderingContext2D -> m Float Source #
setWebkitLineDash :: MonadDOM m => CanvasRenderingContext2D -> [Float] -> m () Source #
getWebkitLineDash :: MonadDOM m => CanvasRenderingContext2D -> m [Float] Source #
setWebkitLineDashOffset :: MonadDOM m => CanvasRenderingContext2D -> Float -> m () Source #
getWebkitLineDashOffset :: MonadDOM m => CanvasRenderingContext2D -> m Float Source #
setFont :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m () Source #
getFont :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result Source #
setTextAlign :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m () Source #
getTextAlign :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result Source #
setTextBaseline :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m () Source #
getTextBaseline :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result Source #
setDirection :: (MonadDOM m, ToJSString val) => CanvasRenderingContext2D -> val -> m () Source #
getDirection :: (MonadDOM m, FromJSString result) => CanvasRenderingContext2D -> m result Source #
setStrokeStyle :: (MonadDOM m, IsCanvasStyle val) => CanvasRenderingContext2D -> val -> m () Source #
getStrokeStyle :: MonadDOM m => CanvasRenderingContext2D -> m CanvasStyle Source #
setFillStyle :: (MonadDOM m, IsCanvasStyle val) => CanvasRenderingContext2D -> val -> m () Source #
getFillStyle :: MonadDOM m => CanvasRenderingContext2D -> m CanvasStyle Source #
setImageSmoothingEnabled :: MonadDOM m => CanvasRenderingContext2D -> Bool -> m () Source #
getImageSmoothingEnabled :: MonadDOM m => CanvasRenderingContext2D -> m Bool Source #
setWebkitImageSmoothingEnabled :: MonadDOM m => CanvasRenderingContext2D -> Bool -> m () Source #
setImageSmoothingQuality :: MonadDOM m => CanvasRenderingContext2D -> ImageSmoothingQuality -> m () Source #
getImageSmoothingQuality :: MonadDOM m => CanvasRenderingContext2D -> m ImageSmoothingQuality Source #
newtype CanvasRenderingContext2D Source #
Functions for this inteface are in JSDOM.CanvasRenderingContext2D. Base interface functions are in: