---
title: dilationRates
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphstencilopdescriptor/dilationrates
---

# dilationRates

The property that defines dilation rates for spatial dimensions.

## Declaration

```swift
var dilationRates: [NSNumber] { get set }
```

## Discussion

Discussion Must be four numbers, one for each spatial dimension, fastest running index last. Default value: @[ @1, @1, @1, @1 ]
