---
title: grainOffset
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkstrokerenderstate/grainoffset
---

# grainOffset

The pre-transform position of the grain texture for strokes with a backing grain texture such as crayon.

## Declaration

```occ
@property (nonatomic, assign) CGPoint grainOffset;
```
