> ## Documentation Index
> Fetch the complete documentation index at: https://rive.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Glyph

One glyph placed by a [Text](/docs/scripting/api-reference/text/text) layout, in the text's local space.

## Fields

### `id`

Glyph id within `font`.

### `font`

### `size`

### `x`

Pen position on the baseline, the shaper's offset included.

### `y`

### `advance`

### `textIndex`

Index of the first codepoint this glyph draws, 1 based.

### `direction`

Direction of the run the glyph belongs to.

### `isColor`

Whether this is a color glyph (emoji) drawn as layers rather than one outline.

### `transform`

Places the 1 point outline from `Font:glyphPath` at this glyph's size and position.

## Methods

### `path`

<div class="signature">
  ```lua theme={null}
  path() -> Path
  ```
</div>

The outline placed by `transform`, as a new [Path](/docs/scripting/api-reference/path/path).
