<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKStrokeRecognizer/SearchResult",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "s:9PencilKit18PKStrokeRecognizerC12SearchResultV"
  },
  "title" : "PKStrokeRecognizer.SearchResult"
}
-->

# PKStrokeRecognizer.SearchResult

A value that describes a single result returned by a handwriting search.

```
struct SearchResult
```

## Overview

Each `SearchResult` identifies the set of strokes that matched the query and the bounding rectangle that contains them, expressed in the coordinate space of the drawing.

## Topics

### Getting the result data

[`let strokes: Set<UUID>`](/documentation/PencilKit/PKStrokeRecognizer/SearchResult/strokes)

The identifiers of the strokes the result contains.

[`let bounds: CGRect`](/documentation/PencilKit/PKStrokeRecognizer/SearchResult/bounds)

The bounds of the matched strokes in the coordinate space of their drawing.



---

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)