STAMPRECT

Syntax

STAMPRECT number number

(STAMPRECT number number "TRUE)

Explanation

STAMPRECT draws a rectangle with a vertical length of the number of turtle steps defined by its first input and a horizontal length defined by its second input. The rectangle is drawn with the current turtle position in the lower left corner. STAMPRECT draws a square if the two inputs are equal.

If STAMPRECT, its inputs, and the value TRUE are all enclosed in parentheses, the rectangle drawn is filled with the current pattern in the current pen color.

See also STAMPOVAL.

Example

? SETPATTERN 8

? (STAMPRECT 50 30 "TRUE)

?