codeworld-api-0.8.1: Graphics library for CodeWorld
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.