ImageNode

constructor(image: ColorBuffer, x: Double, y: Double, width: Double, height: Double, source: Rectangle? = null)(source)

Parameters

source

the part of the image that is drawn, in the image's coordinates with the origin at its top left corner, or null to draw the whole image