---
name: "wxGraphicsObject"
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/wxGraphicsObject"
---

# wxGraphicsObject(3erl)

Functions for wxGraphicsObject class

## NAME

wxGraphicsObject - Functions for wxGraphicsObject class

## DESCRIPTION

This class is the superclass of native graphics objects like pens etc. It allows reference counting. Not instantiated by user code.

See: *wxGraphicsBrush*, *wxGraphicsPen*, *wxGraphicsMatrix*, *wxGraphicsPath*

wxWidgets docs: wxGraphicsObject

## DATA TYPES

```
wxGraphicsObject() = wx:wx_object()
```

## EXPORTS

```
destroy(This :: wxGraphicsObject()) -> ok
```

```
getRenderer(This) -> wxGraphicsRenderer:wxGraphicsRenderer()
```

Types:

This = wxGraphicsObject()\

Returns the renderer that was used to create this instance, or NULL if it has not been initialized yet.

```
isNull(This) -> boolean()
```

Types:

This = wxGraphicsObject()\

Return: false if this object is valid, otherwise returns true.
