Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Wim Rijnders
RE: What's the mode parameter for in Polygon.draw [ reply ]  
2009-01-04 12:14
I take that back, FilledPolygon fills and Polygon doesn't. The questions still stand, though.

Regards,

Wim.

By: Wim Rijnders
What's the mode parameter for in Polygon.draw [ reply ]  
2009-01-04 12:09
Hi,

I'm using the following call:

Canvas::Polygon.draw( image, mode )

I can get something like a polygon to display, however, it is filled with black (which was unexpected, FilledPolygon should do that). In addition, I don't understand what the mode parameter is for.

So my questions are:

- How do you set a color for polygon drawing and filling?
- How do you use the mode parameter?

Kind Regards,

Wim.