# `GSFont.stems`

*Instance Property*

Font-wide stem definitions.

## Declaration

```swift
var stems: [GSMetric]? { get set }
```

```objc
@property (nonatomic, strong) NSArray<GSMetric *> * stems;
```

[See also `stems` in the Python API](https://docu.glyphsapp.com/#GSFont.stems)

```python
pyobjc_instanceMethods.stems() -> list[GSMetric]
pyobjc_instanceMethods.setStems_(stems: list[GSMetric])
```

## Discussion

Each stem defines a shared horizontal or vertical stem measurement. The values for these definitions are stored on each master.

## See Also

### Stems

- [`GSFont countOfStems`](/Core/GlyphsCore/GSFont/countOfStems) — Returns the number of stem definitions.
- [`GSFont objectInStemsAtIndex:`](/Core/GlyphsCore/GSFont/objectInStemsAtIndex:) — Returns the stem at an index.
- [`GSFont stemForId:`](/Core/GlyphsCore/GSFont/stemForId:) — Returns the first stem with an identifier.
- [`GSFont stemForName:`](/Core/GlyphsCore/GSFont/stemForName:) — Returns the first stem with a name.
- [`GSFont addStem:`](/Core/GlyphsCore/GSFont/addStem:) — Adds a stem definition to the font.
- [`GSFont removeObjectFromStems:`](/Core/GlyphsCore/GSFont/removeObjectFromStems:) — Removes a stem definition from the font.

