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

# defaultWidth(for:)

The default width for the specified eraser type.

## Declaration

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

## See Also

### Getting the width information

- [width](pencilkit/pkerasertoolreference/width.md)
- [minimumWidth(for:)](pencilkit/pkerasertoolreference/minimumwidth(for:).md)
- [maximumWidth(for:)](pencilkit/pkerasertoolreference/maximumwidth(for:).md)
