# wx.GraphicsBrush¶

A wx.GraphicsBrush is a native representation of a brush.

The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via wx.GraphicsContext.CreateBrush or wx.GraphicsRenderer.CreateBrush .

## Class Hierarchy¶

Inheritance diagram for class GraphicsBrush:

## Class API¶

class wx.GraphicsBrush(GraphicsObject)

A GraphicsBrush is a native representation of a brush.