pixelRatio property

  1. @override
num pixelRatio
override

The current pixel ration of this canvas. See devicePixelRatio.

Implementation

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

Sets the pixel ration of this canvas and refreshes it.

Implementation

@override
set pixelRatio(num pr) {}