Contents

location(in:)

Returns the position of this anchor within the specified markup’s coordinate system.

Declaration

func location(in markup: PaperMarkup) -> CGPoint?

Parameters

  • markup:

    The PaperMarkup instance to calculate the location within.

Return Value

A CGPoint representing the anchor’s position in the markup’s coordinate system, or nil if the location is unavailable.