public static double alignToInt(double usrValue, @NotNull Graphics2D g) {
    return alignToInt(usrValue, ScaleContext.create(g), null, null);
  }
public static double alignToInt(double usrValue, @NotNull Graphics2D g)