Contents Up Previous Next

wxBrush is-a wxObject

A brush is a an object that can be set for a device context and determines the fill colour and style for subsequent drawing operations.

See also wxPen.

wxBrush colour
wxBrush style
wxBrush create


wxBrush colour

string colour

The colour of the brush. It may be a wxWindows colour string such as "BLACK'', "WHITE'', "CYAN'' etc.


wxBrush style

symbol style

The style of the brush. It may be one of:


wxBrush create

void ( create)

Creates a brush for use in a device context. A brush must be set to fill graphic shapes.

The following slots must be initialized: