PixmapSlice

data class PixmapSlice(val pixmap: Pixmap, val x: Int = 0, val y: Int = 0, val width: Int = pixmap.width, val height: Int = pixmap.height)

A rectangular slice of a pixmap.

Author

Colt Daily 12/22/2021

Constructors

Link copied to clipboard
fun PixmapSlice(pixmap: Pixmap, x: Int = 0, y: Int = 0, width: Int = pixmap.width, height: Int = pixmap.height)

Properties

Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
val width: Int
Link copied to clipboard
val x: Int = 0
Link copied to clipboard
val y: Int = 0