# `GSLayer roundCoordinates`

*Instance Method*

Rounds path, component, and anchor coordinates using the associated font master settings.

## Declaration

```swift
func roundCoordinates()
```

```objc
- (void) roundCoordinates;
```

```python
roundCoordinates()
```

## See Also

### Rounding Coordinates

- [`GSLayer roundSelectedCoordinates:`](/Core/GlyphsCore/GSLayer/roundSelectedCoordinates:) — Rounds selected element coordinates to a grid.
- [`GSLayer roundCoordinatesToGridWithSettings:`](/Core/GlyphsCore/GSLayer/roundCoordinatesToGridWithSettings:) — Rounds path, component, and anchor coordinates to a grid.
- [`GSLayer roundCoordinatesFastToGridWithSettings:`](/Core/GlyphsCore/GSLayer/roundCoordinatesFastToGridWithSettings:) — Rounds path, component, and anchor coordinates to a grid without normal edit bookkeeping.
- [`GSLayer roundCoordinatesToGrid:`](/Core/GlyphsCore/GSLayer/roundCoordinatesToGrid:) — Rounds shape and anchor coordinates to a uniform grid and rounds the layer width to at most unit precision.
- [`GSLayer roundCoordinatesToGridFast:`](/Core/GlyphsCore/GSLayer/roundCoordinatesToGridFast:) — Rounds shape and anchor coordinates to a uniform grid without normal edit bookkeeping.

