previous up next     contents index
Next: get-colour Up: Class Reference Previous: set-colour-map

wx:brush%

    Superclass:  wx:object%

A brush is a drawing tool for filling in areas; i.e., it is used for painting the background of rectangles, ellipses, etc. It has a colour and a style. On a monochrome display, all brushes paint as white unless the colour is really black.

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

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

Methods:

PLT