Overview

This is the API documentation for the classes used in Glyphs.

Topics

Essentials

  • The top-level model object of a Glyphs document.

  • A named glyph and its layer collection in a font.

  • The drawing and editing representation of a glyph.

  • GSAxis represents an axis in a GSFont object.

Shapes

  • An abstract base class for graphical elements stored in a glyph layer.

  • A graphical path made of nodes.

  • A reference to another glyph placed as a shape in a glyph layer.

  • A shape group combines zero or more shapes into a single shape, forming a shape tree.

Layout Features

Concepts

Pens

Geometry

Property List

Serialization

Utilities

Constants

Articles

  • Drawing the contents of a layer can be done for different output formats. These include black-and-white vector outlines (TrueType glif), color vector (OpenType COLR), bitmap graphics (PNG), and mixed formats that can hold both vector and bitmap graphics (SVG, PDF).

Classes

Protocols

Structures

Variables

Functions

Type Aliases

Enumerations

Extended Modules

Other

Topics

Essentials

  • The top-level model object of a Glyphs document.

  • A named glyph and its layer collection in a font.

  • The drawing and editing representation of a glyph.

  • GSAxis represents an axis in a GSFont object.

Shapes

  • An abstract base class for graphical elements stored in a glyph layer.

  • A graphical path made of nodes.

  • A reference to another glyph placed as a shape in a glyph layer.

  • A shape group combines zero or more shapes into a single shape, forming a shape tree.

Layout Features

Concepts

Pens

Geometry

Property List

Serialization

Utilities

Constants

Articles

  • Drawing the contents of a layer can be done for different output formats. These include black-and-white vector outlines (TrueType glif), color vector (OpenType COLR), bitmap graphics (PNG), and mixed formats that can hold both vector and bitmap graphics (SVG, PDF).

Classes

Protocols

Structures

Functions

Macros

Type Aliases

Enumerations