pixelRatio property
      
      num
      get
      pixelRatio
      
    
    
The current pixel ration of this canvas. See devicePixelRatio.
Implementation
num get pixelRatio;
      
      set
      pixelRatio
      (num pr) 
      
    
    
Sets the pixel ration of this canvas and refreshes it.
Implementation
set pixelRatio(num pr);