---
title: PKInkReference
framework: pencilkit
role: symbol
role_heading: Class
path: pencilkit/pkinkreference
---

# PKInkReference

Provides a description of the creation and rendering of marks on a canvas.

## Declaration

```swift
class PKInkReference
```

## Topics

### Creating an ink

- [init(inkType:color:)](pencilkit/pkinkreference/init(inktype:color:).md)

### Getting the ink attributes

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

### Supporting backward compatibility

- [requiredContentVersion](pencilkit/pkinkreference/requiredcontentversion.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
