FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   poly()
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: poly()  (Read 780 times)
guest
Guest
Email
poly()
« on: Jul 6th, 2004, 3:45pm »

i am unable to draw polygons with this language
 
TomC

WWW
Re: poly()
« Reply #1 on: Jul 6th, 2004, 4:34pm »

Take a look at beginShape, vertex, and endShape in the Reference.
 
Code:

beginShape(POLYGON);
vertex(x1,y1);  
vertex(x2,y2);  
vertex(x3,y3);  
vertex(x4,y4);
vertex(x5,y5);  
endShape();

 
Guest
Guest
Email
Re: poly()
« Reply #2 on: Jul 6th, 2004, 5:10pm »

oic
 
Pages: 1 

« Previous topic | Next topic »