cropRectangle property

Rectangle2D? cropRectangle

The crop rectangle for camera updates. Defines a sub-space of the screen that the behavior should consider for camera updates. If not set, it uses the viewport bounds of the underlying map view. Gets the current crop rectangle, if it's set.

Implementation

Rectangle2D? get cropRectangle;
void cropRectangle=(Rectangle2D? value)

The crop rectangle for camera updates. Defines a sub-space of the screen that the behavior should consider for camera updates. If not set, it uses the viewport bounds of the underlying map view. Sets a crop rectangle.

Implementation

set cropRectangle(Rectangle2D? value);