← back to roto on ba3a.dev

FigureBox

data class FigureBox(val left: Int, val top: Int, val right: Int, val bottom: Int)

The inclusive pixel bounds of a figure in one frame.

Constructors

Link copied to clipboard
constructor(left: Int, top: Int, right: Int, bottom: Int)

Properties

Link copied to clipboard
val bottom: Int

the last row holding figure, where the feet stand

Link copied to clipboard
val height: Int

The box's height in rows.

Link copied to clipboard
val left: Int

the first column holding figure

Link copied to clipboard
val right: Int

the last column holding figure

Link copied to clipboard
val top: Int

the first row holding figure