---
title: "maximumWidth(forInkType:)"
framework: pencilkit
role: symbol
role_heading: Type Method
path: "pencilkit/pkinkingtoolreference/maximumwidth(forinktype:)"
---

# maximumWidth(forInkType:)

Returns the maximum allowed line width for the specified tool type.

## Declaration

```swift
class func maximumWidth(forInkType inkType: __PKInkType) -> CGFloat
```

## Parameters

- `inkType`: The type of tool whose maximum line width you want.

## Return Value

Return Value The maximum line width (in points) for the specified tool type.

## See Also

### Getting the standard ink widths

- [defaultWidth(forInkType:)](pencilkit/pkinkingtoolreference/defaultwidth(forinktype:).md)
- [minimumWidth(forInkType:)](pencilkit/pkinkingtoolreference/minimumwidth(forinktype:).md)
