TbCommandSendBitmap constructor
TbCommandSendBitmap(})
Implementation
TbCommandSendBitmap(int x, int y, int width, int height, Uint8List imageData, {TbBitmapMode mode = TbBitmapMode.OVERWRITE}) {
String bytesStr = "${String.fromCharCodes(imageData)}";
//outCommand = "BITMAP $x,$y,$width,$height,${mode.getValue()},${String.fromCharCodes(imageData)}\"\r\n";
//outCommand = "BITMAP $x,$y,$width,$height,${mode.getValue()},${String.fromCharCodes(imageData)}";
outCommand = "BITMAP $x,$y,$width,$height,${mode.getValue()},";
print ("Out Command - $outCommand");
print ( "- Image Size ${bytesStr.length}");
}