pixelRatio property

  1. @override
num get pixelRatio
override

The current pixel ration of this canvas. See devicePixelRatio.

Implementation

@override
num get pixelRatio => 1;
  1. @override
set pixelRatio (num pr)
override

Sets the pixel ration of this canvas and refreshes it.

Implementation

@override
set pixelRatio(num pr) {}