<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBezierPath/defaultLineWidth",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBezierPath(cpy)defaultLineWidth"
  },
  "title" : "defaultLineWidth"
}
-->

# defaultLineWidth

Returns the default line width for the all paths.

```
class var defaultLineWidth: CGFloat { get set }
```

## Return Value

The default line width, measured in points in the user coordinate space, or 1.0 if no other value has been set.

## See Also

[`var lineWidth: CGFloat`](/documentation/AppKit/NSBezierPath/lineWidth)

The width of stroked path lines.



---

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)