---
title: PKStrokeRecognizer.SearchResult
framework: pencilkit
role: symbol
role_heading: Structure
path: pencilkit/pkstrokerecognizer/searchresult
---

# PKStrokeRecognizer.SearchResult

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

## Declaration

```swift
struct SearchResult
```

## Mentioned in

Recognizing handwriting and converting it to text

## Overview

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

- [strokes](pencilkit/pkstrokerecognizer/searchresult/strokes.md)
- [bounds](pencilkit/pkstrokerecognizer/searchresult/bounds.md)

## See Also

### Searching for text

- [search(_:fullWordsOnly:caseMatchingOnly:)](pencilkit/pkstrokerecognizer/search(_:fullwordsonly:casematchingonly:).md)
