<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKEraserType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:@E@PKEraserType"
  },
  "title" : "PKEraserType"
}
-->

# PKEraserType

Constants that indicate the behavior of the eraser.

```
enum PKEraserType : NSInteger;
```

## Topics

### Eraser types

[`PKEraserTypeVector`](/documentation/PencilKit/PKEraserType/PKEraserTypeVector)

An eraser that removes an entire drawn line.

[`PKEraserTypeBitmap`](/documentation/PencilKit/PKEraserType/PKEraserTypeBitmap)

An eraser that removes only those portions of the drawing it touches.

[`PKEraserTypeFixedWidthBitmap`](/documentation/PencilKit/PKEraserType/PKEraserTypeFixedWidthBitmap)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)