Module immi::widgets::image [] [src]

Non-interactive images used for decoration purposes.

If you want to use an image as a button, see the other modules.

Functions

cover

Increases the size of the image until it covers the context, then draws it.

draw

Decreases the size of the image if necessary until it fits in the context, then draws it.

stretch

Stretches the image if necessary so that it corresponds to the context's area, then draws it.