One Logo Pool Ball
PencilKit · IOS API REFERENCE

PKStrokeRecognizer.SearchResult

struct · iOS 27.0+ · SDK 27.1

struct SearchResult

A result containing the matched strokes and their bounds from a search query.

Members (2)

get · iOS 27.0+

bounds

TypeScript
get bounds(): { x: number; y: number; width: number; height: number }
Swift declaration
let bounds: CGRect

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

get · iOS 27.0+

strokes

TypeScript
get strokes(): Array<string>
Swift declaration
let strokes: Set<UUID>

The identifiers of the strokes the result contains.

Skipped declarations

No declarations were skipped in this snapshot.

All PencilKit types →