| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Image
Documentation
image :: HasCallStack => (Text, Text, Number, Number) -> Picture #
image(name, url, w, h) is an image from a standard image format.
nameis a name for the picture, used for debugging.urlis a data-scheme URI for the image data.wis the width in CodeWorld screen units.his the height in CodeWorld screen units.
The image can be any universally supported format, including SVG, PNG, JPG, etc. SVG should be preferred, as it behaves better with transformations.