GRAPHIC WIDTH statement

Purpose

Set the line width to be used by various graphical statements in the selected graphic target.

Syntax

GRAPHIC WIDTH linewidth&

Remarks

The graphic target must first be selected with GRAPHIC ATTACH.  If line width is set to a value greater than 1 (default), the line style is always interpreted to be 0 (solid).

See also

GRAPHIC ARC, GRAPHIC ATTACH, GRAPHIC BOX, GRAPHIC ELLIPSE, GRAPHIC LINE, GRAPHIC PIE, GRAPHIC STYLE

Example

' Draw a square box with red, thick lines

GRAPHIC WIDTH 10

GRAPHIC BOX (10, 10) - (110, 110), 0, %RED