Draw image

stamp image
(stamp image opacity)

stampat położenie image
(stampat położenie image opacity)

stampxy x y image
(stampxy x y image opacity)

Embed the image at the current position of a turtle (stamp), or at the position specified as a 2-element array or list of coordinates (stampat), or at the position specified with x and y coordinates (stampxy). Provided location determines the position of the image center. Opacity can be specified optionally, with the range of values from 0 (transparent) to 100 (opaque).

Example:

ht repeat 9 [fd 50 rt 160]
"img := image {-30 0} {30 50}
clean

for [a 10 100 10] [(stampxy :a/2 0 :img :a)]

Output: a drawing in the graphics window.

See also:

Table of Content