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
PaperMarkupinstance 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.