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

# wxGraphicsFont(3erl)

Functions for wxGraphicsFont class

## NAME

wxGraphicsFont - Functions for wxGraphicsFont class

## DESCRIPTION

A *wxGraphicsFont* is a native representation of a font. 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:createFont/4* or *wxGraphicsRenderer:createFont/4*.

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

wxWidgets docs: wxGraphicsFont

## DATA TYPES

```
wxGraphicsFont() = wx:wx_object()
```
