Summary
Draws a rectangle at the designated position. When you select the [Pattern] check box, draws a filled rectangle.
Select and enter the line type (or fill pattern when selecting a pattern), color attributes, and start and end coordinates.
Format
dsp_rectangle (Start Point X Coordinate, Start Point Y Coordinate, End Point X Coordinate, End Point Y Coordinate, Display Color Blink + Display Color, Background Color Blink + Background Color, Pattern and Line Type)
When both black and Blink are set, the background color becomes transparent.
The following positions are the starting coordinate point when a display unit's orientation is set to [Portrait].
Display units except GP-4100 Series: Bottom-left of the screen (0,0)
GP-4100 Series: Top-right of the screen (0,0)
For more details, please refer to the following.
3.9.1 Restrictions for Screen Display
When using colors in the draw functions, set the color codes from 0 to 255. If you set E1 to E12 and save the script, an error occurs.