Does the vertex() method work in Pgraphics ?
in
Core Library Questions
•
3 years ago
Hi all,
I am using PGraphics as a buffer and i am not able to draw polygons to it using the vertex() method. I have seen the code snippet given here and applied it accordingly but it is of no use. I am able to draw ellipses and rectangles but nothing using the vertex() method along with beginShape() and endShape(). Could somebody please direct me to an example of ow to do it or advise me on where I am going wrong.
Thanks,
Varun
I am using PGraphics as a buffer and i am not able to draw polygons to it using the vertex() method. I have seen the code snippet given here and applied it accordingly but it is of no use. I am able to draw ellipses and rectangles but nothing using the vertex() method along with beginShape() and endShape(). Could somebody please direct me to an example of ow to do it or advise me on where I am going wrong.
Thanks,
Varun
1