getPixelsFromX method

double getPixelsFromX(
  1. double x
)

Implementation

double getPixelsFromX(double x) => bounds.getFractionX(x) * contentWidth;