| Copyright | (c) Francesco Gazzetta 2016 |
|---|---|
| License | MIT |
| Maintainer | francygazz@gmail.com |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell98 |
Graphics.Shine.Image
Description
Handling of external image (.png, .svg and all browser-supported formats).
Documentation
How big (and how stretched/cropped) the Image is drawn
Constructors
| Original | The orizinal size of the image |
| Stretched Float Float | Scale the image to the given dimensions |
| Clipped Float Float Float Float | Clip the image from the given coordinates to the given width and height |
| ClippedStretched Float Float Float Float Float Float | Clip (x,y,width,height) and scale (width, height) the image |