Grabs a portion of the screen and creates a new image from it.
constructor ScreenShot(const Owner: TAgkObject; const X: Single; const Y: Single; const Width: Single; const Height: Single);
Parameters |
Description |
const Owner: TAgkObject |
the owner of the new image (eg. a TAgkScene object). |
const X: Single |
The X coordinate of the top left corner of the box to copy. |
const Y: Single |
The Y coordinate of the top left corner of the box to copy. |
const Width: Single |
The width of the box to copy |
const Height: Single |
The height of the box to copy |
The position and size values must be in screen coordinates.
Copyright (c) 2012. All rights reserved.
|