CImage constructor

CImage({
  1. required int startX,
  2. required int startY,
  3. required List<int> image,
  4. bool compress = false,
  5. bool reverse = false,
  6. int? threshold,
})

Implementation

CImage({
  required int startX,
  required int startY,
  required List<int> image,
  bool compress = false,
  bool reverse = false,
  int? threshold,
}) {
  _startX = startX;
  _startY = startY;
  _image = image;
  _threshold = threshold;
  _compress = compress;
  _reverse = reverse;
}