computePixelRatio method

num computePixelRatio()

(undocumented) Computes the device pixel ratio divided by the backing store pixel ratio Used to set this._pixelRatio to a value other than 1. @expose @return {number}

Implementation

_i2.num computePixelRatio() => _i4.callMethod(
      this,
      'computePixelRatio',
      [],
    );