---
name: "wxGraphicsBrush"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxGraphicsBrush"
---

# wxGraphicsBrush(3erl)

Functions for wxGraphicsBrush class

## NAME

wxGraphicsBrush - Functions for wxGraphicsBrush class

## DESCRIPTION

A *wxGraphicsBrush* 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 *wxGraphicsContext:createBrush/2* or *wxGraphicsRenderer:createBrush/2*.

This class is derived (and can use functions) from: *wxGraphicsObject*

wxWidgets docs: wxGraphicsBrush

## DATA TYPES

```
wxGraphicsBrush() = wx:wx_object()
```
