← back to roto on ba3a.dev

SheetRect

@Serializable
data class SheetRect(val x: Int, val y: Int, val w: Int, val h: Int)

A rectangle in pixels.

Constructors

Link copied to clipboard
constructor(x: Int, y: Int, w: Int, h: Int)

Properties

Link copied to clipboard
val h: Int

the height

Link copied to clipboard
val w: Int

the width

Link copied to clipboard
val x: Int

the left edge

Link copied to clipboard
val y: Int

the top edge