---
title: width
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cimorphologyrectangleminimum/width
---

# width

The width, in pixels, of the morphological structuring element.

## Declaration

```swift
var width: Float { get set }
```

## Discussion

Discussion The value is rounded to the nearest odd integer.

## See Also

### Instance Properties

- [height](coreimage/cimorphologyrectangleminimum/height.md)
- [inputImage](coreimage/cimorphologyrectangleminimum/inputimage.md)
