setPixelRatio method

dynamic setPixelRatio([
  1. dynamic value = 1
])

Implementation

setPixelRatio([value = 1]) {
  this._pixelRatio = value;

  this.setSize(this._width, this._height, false);
}