# `GSLayer setLsb:atHeight:`

*Instance Method*

Sets the left side bearing measured at a y coordinate.

## Declaration

```swift
func setLSB(_ newValue: CGFloat, atHeight: Int)
```

```objc
- (void) setLsb:(CGFloat) newValue atHeight:(NSInteger) atHeight;
```

```python
setLsb_atHeight_(newValue: float, atHeight: int)
```

## See Also

### Horizontal Metrics

- [`GSLayer.width`](/Core/GlyphsCore/GSLayer/width) — Advance width for horizontal text layout.
- [`GSLayer.LSB`](/Core/GlyphsCore/GSLayer/LSB) — Horizontal distance from the origin to the left outline edge.
- [`GSLayer.LSBFast`](/Core/GlyphsCore/GSLayer/LSBFast) — Cached left side bearing without updating metrics.
- [`GSLayer LSBPlain`](/Core/GlyphsCore/GSLayer/LSBPlain) — Left side bearing without normalizing the no-outline value.
- [`GSLayer.RSB`](/Core/GlyphsCore/GSLayer/RSB) — Horizontal distance from the right outline edge to the advance width.
- [`GSLayer.RSBFast`](/Core/GlyphsCore/GSLayer/RSBFast) — Cached right side bearing without updating metrics.
- [`GSLayer RSBPlain`](/Core/GlyphsCore/GSLayer/RSBPlain) — Right side bearing without normalizing the no-outline value.
- [`GSLayer lsbAtHeight:`](/Core/GlyphsCore/GSLayer/lsbAtHeight:) — Left side bearing measured at a y coordinate.
- [`GSLayer rsbAtHeight:`](/Core/GlyphsCore/GSLayer/rsbAtHeight:) — Right side bearing measured at a y coordinate.
- [`GSLayer setRsb:atHeight:`](/Core/GlyphsCore/GSLayer/setRsb:atHeight:) — Sets the right side bearing measured at a y coordinate.

