localXAsAlignment method

double localXAsAlignment(
  1. double x
)

Implementation

double localXAsAlignment(double x) => x / (width / 2) - 1.0;