[previous] [up] [next]     [index]
Next: get-color Up: Drawing Class Reference Previous: set-pixel

brush%

A brush is a drawing tool with a color and a style that is used for filling in areas, such as the interior of a rectangle or ellipse. On a monochrome display, all non-white brushes are drawn as black.

In addition to its color and style, a brush can have a stipple bitmap. Painting with a stipple brush is similar to calling draw-bitmap with the stipple bitmap in the filled region.

A brush's style is one of the following:

To draw outline shapes (such as unfilled boxes and ellipses), use the 'transparent brush style. See set-style for more information about styles.

To avoid creating multiple brushes with the same characteristics, use the global brush-list% object the-brush-list.

Methods

[previous] [up] [next]     [index]
Next: get-color Up: Drawing Class Reference Previous: set-pixel

PLT