code: public function getValues()
      {
          $values = [];
          $ratios = $this->pixelRatios->toOptionArray();
          foreach ($ratios as $value) {
              $values[$value['value']] = $value['label'];
          }
          return $values;
      }
docs: Get pixel ratio values
  
  @return array