---
title: strokes
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkdrawing-swift.struct/strokes
---

# strokes

The array of strokes that make up the drawing.

## Declaration

```swift
var strokes: [PKStroke] { get set }
```

## See Also

### Getting the drawing data

- [dataRepresentation()](pencilkit/pkdrawing-swift.struct/datarepresentation().md)
- [PKAppleDrawingTypeIdentifier](pencilkit/pkappledrawingtypeidentifier.md)
