# `GSPathSegment roundToGridLength:`

*Instance Method*

## Declaration

```swift
func round(toGridLength gridLength: CGFloat)
```

```objc
- (void) roundToGridLength:(CGFloat) gridLength;
```

```python
roundToGridLength_(gridLength: float)
```

