---
title: Image.Scale
framework: swiftui
role: symbol
role_heading: Enumeration
path: swiftui/image/scale
---

# Image.Scale

A scale to apply to vector images relative to text.

## Declaration

```swift
enum Scale
```

## Overview

Overview Use this type with the imageScale(_:) modifier, or the imageScale environment key, to set the image scale. The following example shows the three Scale values as applied to a system symbol image, each set against a text view: HStack { Image(systemName: "swift").imageScale(.small); Text("Small") } HStack { Image(systemName: "swift").imageScale(.medium); Text("Medium") } HStack { Image(systemName: "swift").imageScale(.large); Text("Large") }

## Topics

### Getting image scales

- [Image.Scale.small](swiftui/image/scale/small.md)
- [Image.Scale.medium](swiftui/image/scale/medium.md)
- [Image.Scale.large](swiftui/image/scale/large.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring an image

- [Fitting images into available space](swiftui/fitting-images-into-available-space.md)
- [imageScale(_:)](swiftui/view/imagescale(_:).md)
- [imageScale](swiftui/environmentvalues/imagescale.md)
- [Image.Orientation](swiftui/image/orientation.md)
- [Image.ResizingMode](swiftui/image/resizingmode.md)
