protected double scaleVal(double value, @NotNull ScaleType type) {
    return switch (type) {
      case USR_SCALE -> scaler.scaleVal(value);
      case SYS_SCALE -> value * getScale(SYS_SCALE);
      case OBJ_SCALE -> value * getScale(OBJ_SCALE);
    };
  }
protected double scaleVal(double value, @NotNull ScaleType type)