Gambas Documentation - /comp/gb.qt4/paint/brush

/comp/gb.qt4/paint/brush

# Paint.Brush (gb.qt4)

Static Property Brush As PaintBrush

Returns or sets the brush used for drawing.

The pattern's transformation matrix will be locked to the user space in effect at the time of setting this property. This means that further modifications of the current transformation matrix will not affect the brush.

The default brush is a solid color that is opaque black, or the widget background when painting on a DrawingArea.

### See also

- PaintBrush

- Paint.Matrix