---
title: inkType
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkinkreference/inktype
---

# inkType

The type of ink, such as pen or pencil, as defined in the PKInkType enumeration.

## Declaration

```swift
var inkType: __PKInkType { get }
```

## See Also

### Getting the ink attributes

- [color](pencilkit/pkinkreference/color.md)
