pixelRatio property

num pixelRatio

The current pixel ration of this canvas. See devicePixelRatio.

Implementation

num get pixelRatio;
void pixelRatio=(num pr)

Sets the pixel ration of this canvas and refreshes it.

Implementation

set pixelRatio(num pr);