image

fun image(colorBuffer: ColorBuffer, source: Rectangle, target: Rectangle)(source)

Draws a source area of an image (ColorBuffer) into a target area


fun image(colorBuffer: ColorBuffer, target: Rectangle)(source)

Draws an image (ColorBuffer) into a target area


fun image(colorBuffer: ColorBuffer, x: Double, y: Double, width: Double = colorBuffer.width.toDouble(), height: Double = colorBuffer.height.toDouble())(source)

Draws an image with its top-left corner at (x, y) and dimensions (width, height)


fun image(colorBuffer: ColorBuffer, position: Vector2, width: Double = colorBuffer.width.toDouble(), height: Double = colorBuffer.height.toDouble())(source)

Draws an image with its top-left corner at (position) and dimensions (width, height)


fun image(colorBuffer: ColorBuffer)(source)

Draws an image with its top-left corner at (0,0)


fun image(colorBuffer: ColorBuffer, rectangles: List<Pair<Rectangle, Rectangle>>)(source)
fun image(arrayTexture: ArrayTexture, layer: Int = 0, source: Rectangle, target: Rectangle)(source)
fun image(arrayTexture: ArrayTexture, layers: List<Int>, rectangles: List<Pair<Rectangle, Rectangle>>)(source)


fun image(arrayTexture: ArrayTexture, layer: Int = 0, x: Double = 0.0, y: Double = 0.0, width: Double = arrayTexture.width.toDouble(), height: Double = arrayTexture.height.toDouble())(source)

Draws an image using an ArrayTexture as source