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

# defaultWidth(forInkType:)

Returns the default line width for the specified tool type.

## Declaration

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

## Parameters

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

## Return Value

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

## See Also

### Getting the standard ink widths

- [minimumWidth(forInkType:)](pencilkit/pkinkingtoolreference/minimumwidth(forinktype:).md)
- [maximumWidth(forInkType:)](pencilkit/pkinkingtoolreference/maximumwidth(forinktype:).md)
