viewportDomain property

  1. @override
NumericExtents get viewportDomain
override

Returns the domain extent visible in the viewport of the drawArea.

Implementation

@override
NumericExtents get viewportDomain {
  _configureScale();
  return _viewportSettings.domainExtent!;
}
  1. @override
set viewportDomain (NumericExtents extent)
override

Sets the domain extent visible in the viewport of the drawArea.

Invalidates the viewportScale & viewportTranslatePx.

Implementation

@override
set viewportDomain(NumericExtents extent) {
  _scaleReady = false;
  _viewportSettings.domainExtent = extent;
}