<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKInkingToolReference/maximumWidth(forInkType:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PKInkingTool(cm)maximumWidthForInkType:"
  },
  "title" : "maximumWidth(forInkType:)"
}
-->

# maximumWidth(forInkType:)

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

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

## Parameters

`inkType`

The type of tool whose maximum line width you want.

## Return Value

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)