BackgroundCurvePainter(double x, double normalizedY, Color color) : _x = x, _normalizedY = normalizedY, _color = color;