---
title: baseline
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/graphicscontext/resolvedimage/baseline
---

# baseline

The distance from the top of the image to its baseline.

## Declaration

```swift
let baseline: CGFloat
```

## Discussion

Discussion If the image has no baseline, this value is equivalent to the image’s height.

## See Also

### Getting the image properties

- [size](swiftui/graphicscontext/resolvedimage/size.md)
- [shading](swiftui/graphicscontext/resolvedimage/shading.md)
