GetRect
Returns a rectangular part of a pixmap as a new pixmap.
Syntax
-
GetRect(pm, x, y, w, h)-
pmis a pixmap -
x,y,w, andhare non-negative integers
-
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)
