std.graphics.Pixmap.Window - nitrologic/monkey2 GitHub Wiki
std::std.graphics.std.graphics.Pixmap.Window
std:std.graphics.Pixmap( x:monkey:monkey.types.Int,y:monkey:monkey.types.Int,width:monkey:monkey.types.Int,height:monkey:monkey.types.Int )
Method Window: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. |