---
title: "lastBaseline(in:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/graphicscontext/resolvedtext/lastbaseline(in:)"
---

# lastBaseline(in:)

Gets the distance from the first line’s ascender to the last line’s baseline.

## Declaration

```swift
func lastBaseline(in size: CGSize) -> CGFloat
```

## See Also

### Getting the text properties

- [firstBaseline(in:)](swiftui/graphicscontext/resolvedtext/firstbaseline(in:).md)
- [measure(in:)](swiftui/graphicscontext/resolvedtext/measure(in:).md)
- [shading](swiftui/graphicscontext/resolvedtext/shading.md)
