public static void drawBezierCurve(Graphics g, Curve curve) {
		List<Point> points = curve.getPoints();
		Color color = curve.getColor();
		for (int i = 1; i < points.size(); i++) {
			Point p0 = points.get(i - 1);
			Point p1 = points.get(i);
			drawLine(g, (int)p0.getX(), (int)p0.getY(), (int)p1.getX(), (int)p1.getY(), color);
		}
		Point p0 = curve.getPoint0();
		Point p1 = curve.getPoint1();
		Point p2 = curve.getPoint2();
		Point p3 = curve.getPoint3();
		drawDashedLine(g, (int)p0.getX(), (int)p0.getY(), (int)p1.getX(), (int)p1.getY(), color);
		drawDashedLine(g, (int)p1.getX(), (int)p1.getY(), (int)p2.getX(), (int)p2.getY(), color);
		drawDashedLine(g, (int)p2.getX(), (int)p2.getY(), (int)p3.getX(), (int)p3.getY(), color);
		drawDashedLine(g, (int)p3.getX(), (int)p3.getY(), (int)p0.getX(), (int)p0.getY(), color);
		for (int i = 1; i <= Constants.POINT_RADIUS; i++) {
			drawCircle(g, (int)p0.getX(), (int)p0.getY(), i, color);
			drawCircle(g, (int)p1.getX(), (int)p1.getY(), i, color);
			drawCircle(g, (int)p2.getX(), (int)p2.getY(), i, color);
			drawCircle(g, (int)p3.getX(), (int)p3.getY(), i, color);
		}
	}