# `GSGuide endPointForLayerWidth:`

*Instance Method*

The end point used to represent the line at the specified layer width.

## Declaration

```swift
func endPoint(forLayerWidth width: CGFloat) -> NSPoint
```

```objc
- (NSPoint) endPointForLayerWidth:(CGFloat) width;
```

```python
endPointForLayerWidth_(width: float) -> NSPoint
```

## Parameters

- `width` — The layer width used to resolve the orientation-adjusted position.

## Discussion

For a finite line, this is the point at [`GSGuide.length`](/Core/GlyphsCore/GSGuide/length) in the direction of the angle. For an indefinitely extending line, this is a distant point in the direction of its angle.

## See Also

### Angle

- [`GSGuide.angle`](/Core/GlyphsCore/GSGuide/angle) — The rotation in degrees, with zero degrees along the positive x-axis.
- [`GSGuide.lockAngle`](/Core/GlyphsCore/GSGuide/lockAngle) — Whether changes to the angle are disabled.
- [`GSGuide.hasSlope`](/Core/GlyphsCore/GSGuide/hasSlope) — Whether the angle is represented as a slope.
- [`GSGuide.angleUI`](/Core/GlyphsCore/GSGuide/angleUI) — The UI representation of the angle as degrees or a slope.
- [`GSGuide beginPointForLayerWidth:`](/Core/GlyphsCore/GSGuide/beginPointForLayerWidth:) — The start point used to represent the line at the specified layer width.

