Draw Line

Description

Draw Line is used to draw a line on the plate as governed by the current coordinate frame, line color, and line style. The parameters are X1, Y1, X2, Y2. The line is drawn on the plate that has the block list using the Draw Line block. Pltting and drawing procedures must be defined on the plate where the drawing will occur but those routines can be invoked from anywhere.

Escapes

The Draw Line block does not produce any escapes.

Examples

This list of blocks draws a diagonal line:

... producing this:

The background color of the plate can be adjusted by double clicking on the plate and adjusting the color property in the upper left corner:

This block list describes a walking line:

...producing this:

Related Topics

Set Line Color
Clear
Set Coordinate Frame