e657. 用直线和曲线绘制图形
GeneralPath shape = new GeneralPath();
shape.moveTo(x, y);
shape.lineTo(x, y);
shape.quadTo(controlPointX, controlPointY, x, y);
shape.curveTo(controlPointX1, controlPointY1, controlPointX2, controlPointY2, x, y);
shape.closePath();
| Related Examples |
浙公网安备 33010602011771号