eu.joaocosta.minart.graphics.image

Members list

Type members

Classlikes

object Image

Object containing user-friendly functions to images.

Object containing user-friendly functions to images.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Image.type
trait ImageReader

Image reader with a low-level implementation on how to load an image.

Image reader with a low-level implementation on how to load an image.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ImageWriter

Image writer with a low-level implementation on how to store an image.

Image writer with a low-level implementation on how to store an image.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SpriteSheet(surface: Surface, val spriteWidth: Int, val spriteHeight: Int)

A sprite sheet containing multiple sprites in a single image.

A sprite sheet containing multiple sprites in a single image.

Value parameters

spriteHeight

height of each sprite

spriteWidth

width of each sprite

surface

Surface with the sprite sheet

Attributes

Supertypes
class Object
trait Matchable
class Any