pxToInches method

double pxToInches(
  1. int px
)

Converts pixels to inches

Implementation

double pxToInches(int px) {
  return px / inchesToLogicalPixelsRatio;
}