codeworld-api-0.5.0: Graphics library for CodeWorld

Safe HaskellNone
LanguageHaskell98

CodeWorld.Image

Synopsis

Documentation

image Source #

Arguments

:: HasCallStack 
=> Text

Name for the picture, used for debugging

-> Text

Data-scheme URI for the image data

-> Double

Width, in CodeWorld screen units

-> Double

Height, in CodeWorld screen units

-> Picture 

An image from a standard image format. The image can be any universally supported format, including SVG, PNG, JPG, etc. SVG should be preferred, as it behaves better with transformations.