The code @kfrajer used,
void myArc(PGraphics pg, int x, int y)
{
//Assuming begin draw has already been called
pg.ellipse(x,y);
}
still won’t work though because the function “ellipse()” won’t work with ellipse(x, y)
because it needs 4 numbers inside of it, like ellipse(x, y, w, z)
. So would the code be
void myArc(PGraphics pg, int x, int y, int w, int z)
{
//Assuming begin draw has already been called
pg.ellipse(x, y, w, z);
}