size property

Size get size

The dimensions of the annotation for automatic hit testing.

This size is used by the framework to:

  • Calculate the bounding box for hit testing (see containsPoint)
  • Position selection highlights and borders
  • Compute layout and rendering bounds

Subclasses must implement this to return the annotation's current size.

Implementation

Size get size;