toyGraphics / com.anysolo.toyGraphics / Image

Image

class Image

An image from file.

You can draw an image from file using this class and Graphics.drawImage() Supported file formats: GIF, PNG, JPEG

Properties

height

val height: Int

Height of the image in pixels

width

val width: Int

Width of the image in pixels