threepenny-gui-0.2.0.1: Small GUI framework that uses the web browser as a display.

Safe HaskellNone

Graphics.UI.Threepenny.Canvas

Contents

Synopsis

Synopsis

Partial binding to the HTML5 canvas API.

Documentation

drawImage :: Element -> Vector -> Canvas -> IO ()Source

Draw the image of an image element onto the canvas at a specified position.

clearCanvas :: Canvas -> IO ()Source

Clear the canvas