Module

Graphics.Canvas.Free

Package
purescript-free-canvas
Repository
paf31/purescript-free-canvas

#GraphicsF Source

data GraphicsF more

Instances

#setLineWidth Source

setLineWidth :: forall m. Monad m => Number -> GraphicsT m Unit

#setFillStyle Source

setFillStyle :: forall m. Monad m => String -> GraphicsT m Unit

#setStrokeStyle Source

setStrokeStyle :: forall m. Monad m => String -> GraphicsT m Unit

#setShadowColor Source

setShadowColor :: forall m. Monad m => String -> GraphicsT m Unit

#setShadowBlur Source

setShadowBlur :: forall m. Monad m => Number -> GraphicsT m Unit

#setShadowOffsetX Source

setShadowOffsetX :: forall m. Monad m => Number -> GraphicsT m Unit

#setShadowOffsetY Source

setShadowOffsetY :: forall m. Monad m => Number -> GraphicsT m Unit

#setLineCap Source

setLineCap :: forall m. Monad m => LineCap -> GraphicsT m Unit

#setComposite Source

setComposite :: forall m. Monad m => Composite -> GraphicsT m Unit

#setAlpha Source

setAlpha :: forall m. Monad m => Number -> GraphicsT m Unit

#beginPath Source

beginPath :: forall m. Monad m => GraphicsT m Unit

#stroke Source

stroke :: forall m. Monad m => GraphicsT m Unit

#fill Source

fill :: forall m. Monad m => GraphicsT m Unit

#clip Source

clip :: forall m. Monad m => GraphicsT m Unit

#lineTo Source

lineTo :: forall m. Monad m => Number -> Number -> GraphicsT m Unit

#moveTo Source

moveTo :: forall m. Monad m => Number -> Number -> GraphicsT m Unit

#closePath Source

closePath :: forall m. Monad m => GraphicsT m Unit

#arc Source

arc :: forall m. Monad m => Arc -> GraphicsT m Unit

#rect Source

rect :: forall m. Monad m => Rectangle -> GraphicsT m Unit

#fillRect Source

fillRect :: forall m. Monad m => Rectangle -> GraphicsT m Unit

#strokeRect Source

strokeRect :: forall m. Monad m => Rectangle -> GraphicsT m Unit

#clearRect Source

clearRect :: forall m. Monad m => Rectangle -> GraphicsT m Unit

#scale Source

scale :: forall m. Monad m => Number -> Number -> GraphicsT m Unit

#rotate Source

rotate :: forall m. Monad m => Number -> GraphicsT m Unit

#translate Source

translate :: forall m. Monad m => Number -> Number -> GraphicsT m Unit

#transform Source

transform :: forall m. Monad m => Transform -> GraphicsT m Unit

#textAlign Source

textAlign :: forall m. Monad m => GraphicsT m TextAlign

#setTextAlign Source

setTextAlign :: forall m. Monad m => TextAlign -> GraphicsT m Unit

#font Source

font :: forall m. Monad m => GraphicsT m String

#setFont Source

setFont :: forall m. Monad m => String -> GraphicsT m Unit

#fillText Source

fillText :: forall m. Monad m => String -> Number -> Number -> GraphicsT m Unit

#strokeText Source

strokeText :: forall m. Monad m => String -> Number -> Number -> GraphicsT m Unit

#measureText Source

#save Source

save :: forall m. Monad m => GraphicsT m Unit

#restore Source

restore :: forall m. Monad m => GraphicsT m Unit

#getImageData Source

#putImageData Source

putImageData :: forall m. Monad m => ImageData -> Number -> Number -> GraphicsT m Unit

#putImageDataFull Source

#createImageData Source

#createImageDataCopy Source

#drawImage Source

#drawImageScale Source

#drawImageFull Source

#runGraphics Source

runGraphics :: forall eff. Context2D -> Graphics ~> (Eff (canvas :: CANVAS | eff))

#runGraphicsT Source

runGraphicsT :: forall eff. Context2D -> (GraphicsT (Eff (canvas :: CANVAS | eff))) ~> (Eff (canvas :: CANVAS | eff))

#interpretGraphics Source

interpretGraphics :: forall eff. Context2D -> GraphicsF ~> (Eff (canvas :: CANVAS | eff))