Skip to content

Std graphics pixmap window

std:std.graphics.Pixmap.Window

Method Window:Pixmap( x:Int,y:Int,width:Int,height:Int )#

Returns a rectangular window into the pixmap.

In debug builds, a runtime error will occur if the rectangle lies outside of the pixmap area.

Parameters
x x The x coordinate of the top left of the rectangle.
y y The y coordinate of the top left of the rectangle.
width width The width of the rectangle.
height height The height of the rectangle.