Contents

quadrilateralPoints

An array of values that represents the points bounding the marked-up text.

Declaration

var quadrilateralPoints: [NSValue]? { get set }

Discussion

The array contains N * 4 NSValue objects that use pointValue or cgPointValue to define N quadrilaterals in page-space coordinates, where N is the number of quad points. The order of the points is a Z pattern as follows:

  • Upper-left point

  • Upper-right point

  • Lower-left point

  • Lower-right point

The coordinates of each point are relative to the bound’s origin of the annotation.

See Also

Configuring Text Markup Annotations