Hello, I am currently trying to draw a sailboat with Processing in Java. I'm failing on the bottom part right now.
I was thinking that I can use a circle segment for it.
I wanted to use the arc() method for this only it doesn't work.
The call: arc(x, y, 20, 20, 45, 45);
I played a bit with the parameters hoping this would work.
If there is no circle segment to draw, I figured I could "squeeze" another shape, like a semicircle, to the right size or I could use a trapezoid for it.
1.) Is there a method for a circle segment?
2.) Are there methods for scaling?
3.) Is there a method for a trapezoid or do I have to do it with a rectangle and two triangles?
Sorry if there are any grammar mistaces. I asked on a German forum and I was too lazy to rewrite the whole text.