我目前正在编写绘图应用程序。然而,我一直在犯错误。
这就是我写的代码:
void draw () {
bezier(11, 11, 300, 60, 57, 551, 297, 543, 32, 43);
}当我运行这个程序时,它会抛出The method bezier (float, float, float, float, float, float, float, float, float, float) in the type PApplet is not applicable for the arguments (int, int, int, int, int, int, int, int, int, int)。当我删除32, 43时,它运行得很好。
我做错了什么?
发布于 2015-04-14 12:20:28
这是您要调用的方法吗?.html
如果是这样,就需要8个论点..。而不是10,这就解释了当你删除32和43时,它为什么会起作用。
https://stackoverflow.com/questions/29626856
复制相似问题