6 draw a rectangle, 7 drawing a solid rectangle – Matrix Orbital GLK19264-7T-1U User Manual
Page 35
Syntax
Hexadecimal
0xFE 0x65 [x] [y]
Decimal
254 101 [x] [y]
ASCII
254 “e” [x] [y]
Parameters
Parameter
Length
Description
x
1
Left bounds.
y
1
Top Bounds.
Description
This command will draw a line with the current drawing color from the
last line end (x2,y2) to (x,y). This command uses the global drawing
color.
Remembered
No
8.6
Draw a Rectangle
Syntax
Hexadecimal
0xFE 0x72 [color] [x1] [y1] [x2] [y2]
Decimal
254 114 [color] [x1] [y1] [x2] [y2]
ASCII
254 “r” [color] [x1] [y1] [x2] [y2]
Parameters
Parameter
Length
Description
color
1
Drawing color (0: White, 1-255:
Black).
x1
1
Left bounds.
y1
1
Top Bounds.
x2
1
Right Bounds.
y2
1
Bottom Bounds.
Description
This command draws a rectangular box in the specified color (0: White,
1: Black). The top left corner is specified by (x1,y1) and the bottom
right corner by (x2,y2).
Remembered
No
8.7
Drawing a Solid Rectangle
Syntax
Hexadecimal
0xFE 0x78 [color] [x1] [y1] [x2] [y2]
Decimal
254 120 [color] [x1] [y1] [x2] [y2]
ASCII
254 “x” [color] [x1] [y1] [x2] [y2]
Parameters
Parameter
Length
Description
color
1
Drawing color (0: White, 1-255:
Black).
x1
1
Left bounds.
y1
1
Top Bounds.
x2
1
Right Bounds.
y2
1
Bottom Bounds.
Matrix Orbital
GLK19264-7T-1U
30