Function getDevicePixelRatio

  • Returns the current device pixel ratio (DPR) given the passed options

    Parameters

    Returns number

    current device pixel ratio