# `GSGlyph internalAxisRanges(for:associatedMasterID:)`

*Instance Method*

The internal coordinate ranges of selected axes.

## Declaration

```swift
func internalAxisRanges(for axes: [GSAxis], associatedMasterID: String? = nil) -> [GSAxis : ClosedRange<CGFloat>]
```

## Parameters

- `axes` — The axes whose ranges to compute.
- `associatedMasterID` — The associated master identifier used to restrict glyph-local-axis layer values, or `nil` to include layers associated with every master.

## Discussion

The result omits axes without a qualifying coordinate value. Master layers and Intermediate layers contribute coordinate values. The default value of a glyph-local axis also contributes to its range. When `associatedMasterID` is provided, a glyph-local axis uses only layer values associated with that master. This does not restrict font-axis values or the default value of a glyph-local axis.

## See Also

### Glyph Axes

- [`GSGlyph.axes`](/Core/GlyphsCore/GSGlyph/axes) — The glyph-local axes used by Smart Components.
- [`GSGlyph.countOfAxes`](/Core/GlyphsCore/GSGlyph/countOfAxes) — The number of glyph-local axes.
- [`GSGlyph objectInAxesAtIndex:`](/Core/GlyphsCore/GSGlyph/objectInAxesAtIndex:) — The glyph-local axis at an index, or `nil` when the index is out of range.
- [`GSGlyph insertObject:inAxesAtIndex:`](/Core/GlyphsCore/GSGlyph/insertObject:inAxesAtIndex:) — Inserts a glyph-local axis at an index.
- [`GSGlyph removeObjectFromAxesAtIndex:`](/Core/GlyphsCore/GSGlyph/removeObjectFromAxesAtIndex:) — Removes the glyph-local axis at an index.
- [`GSGlyph replaceObjectInAxesAtIndex:withObject:`](/Core/GlyphsCore/GSGlyph/replaceObjectInAxesAtIndex:withObject:) — Replaces the glyph-local axis at an index.
- [`GSGlyph.allAxes`](/Core/GlyphsCore/GSGlyph/allAxes) — The axes defining a complete design-space location for the glyph.
- [`GSGlyph countOfAllAxes`](/Core/GlyphsCore/GSGlyph/countOfAllAxes) — The total number of font axes and glyph-local axes.
- [`GSGlyph internalAxisRanges(associatedMasterID:)`](/Core/GlyphsCore/GSGlyph/internalAxisRanges(associatedMasterID:)) — The internal coordinate ranges of the font axes and glyph-local axes.

