TImage constructor
TImage({
- required int x,
- required int y,
- required List<
int> image, - bool compress = false,
- bool reverse = false,
- TImageMode imageMode = TImageMode.overwrite,
- int? threshold,
- int smoothWeight = 0,
- ThresholdEdgeDitherMode? edgeDitherMode,
- ThresholdEdgeDitherDepth edgeDitherDepth = ThresholdEdgeDitherDepth.shallow,
Implementation
TImage({
required int x,
required int y,
required List<int> image,
bool compress = false,
bool reverse = false,
TImageMode imageMode = TImageMode.overwrite,
int? threshold,
int smoothWeight = 0,
ThresholdEdgeDitherMode? edgeDitherMode,
ThresholdEdgeDitherDepth edgeDitherDepth = ThresholdEdgeDitherDepth.shallow,
}) {
_x = x;
_y = y;
_image = image;
_compress = compress;
_reverse = reverse;
_mode = imageMode;
_threshold = threshold;
_smoothWeight = smoothWeight;
_edgeDitherMode = edgeDitherMode;
_edgeDitherDepth = edgeDitherDepth;
}