---
title: "minimumWidth(for:)"
framework: pencilkit
role: symbol
role_heading: Type Method
path: "pencilkit/pkerasertoolreference/minimumwidth(for:)"
---

# minimumWidth(for:)

The minimum width for the specified eraser type.

## Declaration

```swift
class func minimumWidth(for eraserType: __PKEraserType) -> CGFloat
```

## See Also

### Getting the width information

- [width](pencilkit/pkerasertoolreference/width.md)
- [defaultWidth(for:)](pencilkit/pkerasertoolreference/defaultwidth(for:).md)
- [maximumWidth(for:)](pencilkit/pkerasertoolreference/maximumwidth(for:).md)
