Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
:: Center | set the center point of the image |
-> V2 Double | set the size of the image (V2 length height) |
-> Maybe (V2 Double) | you can only use a part of the image, Nothing for the whole image |
-> String | the file name, image must be in BMP format |
-> Int | zIndex |
-> RenderObject |
Draw an image
Example:
image (V2 0 0) (V2 800 600) Nothing "./path/to/image.bmp" 0