setClippingArea method

void setClippingArea(
  1. RectType<double> area
)

Sets the view clipping rectangle in parent screen ratio.

To reset the clipping area to whole view area call setClippingArea(viewportF)

Parameters

  • IN area The clipping rectangle to set, expressed as a fraction of the parent screen's size (for example, 0.5 for half the screen's width or height). This rectangle defines the visible portion of the MapView.

Throws

  • An exception if it fails.

Implementation

void setClippingArea(RectType<double> area) {
  objectMethod(
    _pointerId,
    'MapView',
    'setClippingArea',
    args: area,
  );
}