# GSLayer Inspection

*API Collection*

Intersections between layer outlines and line segments.

## Overview

Intersection coordinates use the layer coordinate system. Layer-level line intersection methods include the supplied line endpoints in their results unless the line does not reach the inspected bounds. The returned points are not guaranteed to be unique.

## Topics

### Intersections

- [`GSLayer calculateIntersectionsStartPoint:endPoint:`](/Core/GlyphsCore/GSLayer/calculateIntersectionsStartPoint:endPoint:) — Points where a line segment intersects the outlines of the layer.
- [`GSLayer calculateIntersectionsStartPoint:endPoint:decompose:ignoreLocked:clipToBound:`](/Core/GlyphsCore/GSLayer/calculateIntersectionsStartPoint:endPoint:decompose:ignoreLocked:clipToBound:) — Points where a line segment intersects the outlines of the layer.
- [`GSLayer calculateIntersectionsStartPoint:endPoint:decompose:ignoreLocked:clipToBound:ignoreComponents:`](/Core/GlyphsCore/GSLayer/calculateIntersectionsStartPoint:endPoint:decompose:ignoreLocked:clipToBound:ignoreComponents:) — Points where a line segment intersects the outlines of the layer.
- [`GSLayer intersections`](/Core/GlyphsCore/GSLayer/intersections) — Points where segments of the layer outlines intersect each other.

### Deprecated

- [`GSLayer calculateIntersectionsForPath:startPoint:endPoint:`](/Core/GlyphsCore/GSLayer/calculateIntersectionsForPath:startPoint:endPoint:) — Points where a line segment intersects a path.

## See Also

- [GSLayer Kind](/Core/GlyphsCore/GSLayer-Kind) — The different roles that a layer can serve.
- [GSLayer Shapes](/Core/GlyphsCore/GSLayer-Shapes) — The paths and components that form the outline of a layer.
- [GSLayer Bounds](/Core/GlyphsCore/GSLayer-Bounds) — Bounding rectangles of outlines, selections, and metrics.
- [GSLayer Metrics](/Core/GlyphsCore/GSLayer-Metrics) — Side bearings, baseline offsets, layer box, and metrics keys.
- [GSLayer Grid](/Core/GlyphsCore/GSLayer-Grid) — Setting for rounding coordinates on a layer.
- [GSLayer Background](/Core/GlyphsCore/GSLayer-Background) — Background content and reference images associated with a layer.
- [GSLayer Anchors](/Core/GlyphsCore/GSLayer-Anchors) — Named attachment points on a layer.
- [GSLayer Hints](/Core/GlyphsCore/GSLayer-Hints) — Manual and generated hint data on a layer.
- [GSLayer Guides](/Core/GlyphsCore/GSLayer-Guides) — Layer-local guides used while editing outlines.
- [GSLayer Kerning](/Core/GlyphsCore/GSLayer-Kerning) — Spacing adjustment between specific layers.
- [GSLayer Annotations](/Core/GlyphsCore/GSLayer-Annotations) — Layer-local notes displayed with a glyph.
- [GSLayer Interpolation](/Core/GlyphsCore/GSLayer-Interpolation) — Axis coordinates and rules that place layers in a design space.
- [GSLayer Color](/Core/GlyphsCore/GSLayer-Color) — Colors used to draw a layer.
- [GSLayer Attributes](/Core/GlyphsCore/GSLayer-Attributes) — Additional values stored for a layer.
- [GSLayer Editing](/Core/GlyphsCore/GSLayer-Editing) — Operations for modifying outlines and other layer content.

