Algosim documentation: GetRect

GetRect

Returns a rectangular part of a pixmap as a new pixmap.

Syntax

Description

GetRect(pm, x, y, w, h) returns the rectangular part of pm that has top-left corner (x, y), width w, and height h.

Examples

GetRect(ExampleData("Sally"), 226, 80, 200, 200)

Image 1

See also