---
title: flattened
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbezierpath/flattened
---

# flattened

A flattened version of the path object.

## Declaration

```swift
@NSCopying var flattened: NSBezierPath { get }
```

## Discussion

Discussion Flattening a path converts all curved line segments into straight line approximations. The granularity of the approximations is controlled by the path’s current flatness value, which is set using defaultFlatness.

## See Also

### Creating a Bézier Path

- [init(ovalIn:)](appkit/nsbezierpath/init(ovalin:).md)
- [init(rect:)](appkit/nsbezierpath/init(rect:).md)
- [init(roundedRect:xRadius:yRadius:)](appkit/nsbezierpath/init(roundedrect:xradius:yradius:).md)
- [init(cgPath:)](appkit/nsbezierpath/init(cgpath:)-96cxk.md)
- [reversed](appkit/nsbezierpath/reversed.md)
