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.
Creates a solid black brush.
Creates a brush by colour object. See set-style for a list of styles.
Creates a brush by colour name. See wx:colour-database% for information about color names. See set-style for a list of styles.