← back to roto on ba3a.dev

Canvas

@Serializable
data class Canvas(val width: Int, val height: Int, val groundRow: Int)

The canvas every published frame is drawn on; groundRow is the pixel row the feet stand on.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, groundRow: Int)

Properties

Link copied to clipboard

the pixel row the feet stand on

Link copied to clipboard
val height: Int

the canvas height in pixels

Link copied to clipboard
val width: Int

the canvas width in pixels