| bitmap = CopySurface({x1,y1,x2,y2}) |
This function copies a rectangle from the current drawing surface. By default the current drawing surface will be the screen. If the coordinates of the rectangle are omitted the entire drawing surface is copied. The value returned is an object variable that contains the bitmap and can be used in other drawing commands. Example:
Graphics On
|