x1, Type real y1, Type real x2, Type real y2, Type real
Description
Creates a rectangular, empty box by two points and their x/y-coordinates, laying in opposite corners.
The rectangle is collinear to the X and Y axis. Inclined rectangles need a transformation of the coordinate system before.
Example
rect2 -1,1, 0.5,0.5
Creates a rectangle with the corners at (-1,0.5), (-1,1), (0.5,1), (0.5,0.5)
Attributes
LINE_TYPE, LINE_PROPERTY, PEN
Context
2D-Script
References
GDL-Handbuch 4.5 (DE) p. 86
GDL-Handbuch 5.0 (DE) p. 100
GDL-Handbuch 6.0 (DE) p. 124
GDL-Handbuch 6.5 (DE) p. 120
GDL-Handbuch 7.0 (DE) p. 120
GDL-Handbuch 8.0 (DE) p. 20
GDL-Handbuch 8.1 (DE) p. 20
GDL-Handbuch 9.0 (DE) p. 122
GDL-Handbuch 10.0 (DE) p. 118
GDL-Handbuch 11.0 (DE) p. 124
GDL Reference Guide 9.0 (INT) p. 118
GDL Reference Guide 10.0 (INT) p. 118
GDL Reference Guide 11.0 (INT) p. 118