endShape()ShapeVertexWeb & ApplicationendShape_.gif
beginShape(LINE_STRIP);
vertex(30, 20);
vertex(85, 20);
vertex(85, 75);
vertex(30, 75);
endShape();
The endShape() function is the companion to beginShape() and may only be called after the later. When endshape() is called, all of image data defined since the previous call to beginShape() is written into the image buffer.
beginShape()
None
beginShape()
1.0FunctionCore