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

# wxGraphicsPen(3erl)

Functions for wxGraphicsPen class

## NAME

wxGraphicsPen - Functions for wxGraphicsPen class

## DESCRIPTION

A *wxGraphicsPen* is a native representation of a pen. 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:createPen/2* or *wxGraphicsRenderer::CreatePen()* (not implemented in wx).

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

wxWidgets docs: wxGraphicsPen

## DATA TYPES

```
wxGraphicsPen() = wx:wx_object()
```
