The current pixel ration of this canvas. See devicePixelRatio.
@override num get pixelRatio => 1;
Sets the pixel ration of this canvas and refreshes it.
@override set pixelRatio(num pr) {}