image

fun image(x: Int, y: Int, width: Int, height: Int, pixels: IntArray)(source)

Draws tightly packed row-major RGB pixels. At most 65536 pixels per image.


fun image(position: Position2i, size: Size2i, pixels: IntArray)(source)