beautypg.com

8 initializing a bar graph – Matrix Orbital GLT240128 Legacy User Manual

Page 38

background image

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 solid rectangle 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). Since this command involves considerable
processing overhead, we strongly recommend the use of flow control,
particularly if the command is to be repeated frequently.

Remembered

No

8.8

Initializing a Bar Graph

Syntax

Hexadecimal

0xFE 0x67 [refID] [type] [x1] [y1] [x2] [y2]

Decimal

254 103 [refID] [type] [x1] [y1] [x2] [y2]

ASCII

254 “g” [refID] [type] [x1] [y1] [x2] [y2]

Parameters

Parameter

Length

Description

refID

1

Reference number

type

1

Type of bar graph.

x1

1

Left bounds.

y1

1

Top Bounds.

x2

1

Right Bounds.

y2

1

Bottom Bounds.

Matrix Orbital

GLT240128

33