Create an image
image p1 p2
Creates a bitmap from a rectangular region in the graphics window. Points p1 and p2 are the upper
left and lower right corners of the region, respectively. The bitmap does not include background.
Example:
repeat 9 [fd 50 rt 160]
"img := image {-30 0} {30 50}
stampat {100 50} :img
Output: a drawing made in the repeat
loop and a copy
of this drawing at the position {100 50}
.
See also:
Turtle - object
Table of Content