# `GSPath decomposeCorner:`

*Instance Method*

Replaces a corner, cap, segment, brush, or head hint with outline geometry.

## Declaration

```swift
func decomposeCorner(_ corner: GSHint) -> Bool
```

```objc
- (BOOL) decomposeCorner:(GSHint *) corner;
```

```python
decomposeCorner_(corner: GSHint) -> bool
```

## See Also

### Representations

- [`GSPath bezierPath`](/Core/GlyphsCore/GSPath/bezierPath) — An AppKit drawing path for the path.
- [`GSPath expandedStroke`](/Core/GlyphsCore/GSPath/expandedStroke) — Stroke outlines built from the path stroke attributes.
- [`GSPath flattenedPath`](/Core/GlyphsCore/GSPath/flattenedPath) — A path with path components expanded into outline nodes.
- [`GSPath removeOutsideOverlaps:`](/Core/GlyphsCore/GSPath/removeOutsideOverlaps:) — Removes outside overlaps at sharp line corners.
- [`GSPath convertSpecialToBezier`](/Core/GlyphsCore/GSPath/convertSpecialToBezier) — A cubic path representation with special curve types converted to Bezier curves.
- [`GSPath primitiveRepresentation`](/Core/GlyphsCore/GSPath/primitiveRepresentation) — A path tracing the same outline using primitive node types and connections.
- [`GSPath primitiveRepresentationSecondaryPen:`](/Core/GlyphsCore/GSPath/primitiveRepresentationSecondaryPen:) — Paths tracing the same outline using primitive node types and connections.
- [`GSPath.isPrimitive`](/Core/GlyphsCore/GSPath/isPrimitive) — Whether the path already uses primitive node types and connections.

