getDownsizedRect static method

Rect getDownsizedRect(
  1. int cropX1,
  2. int cropY1,
  3. int cropX2,
  4. int cropY2,
)

Implementation

static Rect getDownsizedRect(
  int cropX1,
  int cropY1,
  int cropX2,
  int cropY2,
) => getResizedRect(
  Rect.fromLTRB(
    cropX1.toDouble(),
    cropY1.toDouble(),
    cropX2.toDouble(),
    cropY2.toDouble(),
  ),
  1 / _cropConversionFactor,
);