setClippingArea method
- @Deprecated('Will be removed in future versions. Change the GemView widget size instead.')
Sets the view clipping rectangle using parent screen ratio coordinates.
Dimensions expressed as ratios (0.0 to 1.0) relative to the parent screen size.
To reset clipping to the full view area, call setClippingArea(viewportF).
Parameters
area: Clipping rectangle with coordinates as ratios of parent screen dimensions (0.0 to 1.0). For example, 0.5 represents half the screen's width or height
See also:
- viewportF - Current viewport in parent screen ratio
Implementation
@Deprecated('Will be removed in future versions. Change the GemView widget size instead.')
void setClippingArea(final Rectangle<double> area) {
objectMethod(
_pointerId,
'MapView',
'setClippingArea',
args: RectType<double>.fromRectangle(area),
);
}