# `GSPath area`

*Instance Method*

The unsigned area enclosed by the path.

## Declaration

```swift
func area() -> CGFloat
```

```objc
- (CGFloat) area;
```

```python
area() -> float
```

## Discussion

Open paths are measured as if their endpoints were connected.

## See Also

### Geometry

- [`GSPath bounds`](/Core/GlyphsCore/GSPath/bounds) — The bounds of the path.
- [`GSPath fastBounds`](/Core/GlyphsCore/GSPath/fastBounds) — The bounds of the path nodes.
- [`GSPath length`](/Core/GlyphsCore/GSPath/length) — The length of all path segments.
- [`GSPath enclosesPath:`](/Core/GlyphsCore/GSPath/enclosesPath:) — Whether the path encloses another path.
- [`GSPath intersectionsWithLineFrom:to:`](/Core/GlyphsCore/GSPath/intersectionsWithLineFrom:to:) — Intersections between the path and a line segment.

