Implement a PolyFill function

Monkey Forums/Monkey Programming/Implement a PolyFill function

fsoft(Posted 2012) [#1]
Hi everybody,

for a project of mine, I do really need to be able to fill areas.
Monkey has methods to draw lines and circles, but nothing for draw filled polygons.

Is it that difficult to handle filled polygons?

What could I do?


CopperCircle(Posted 2012) [#2]
There is one for the HTML5 target:

http://www.monkeycoder.co.nz/Community/posts.php?topic=1885#18369


NoOdle(Posted 2012) [#3]
DrawPoly... monkey has a command to do this already.


JIM(Posted 2012) [#4]
http://monkeycoder.co.nz/Community/posts.php?topic=625


NoOdle(Posted 2012) [#5]
Oh and also in the code archives there are some shape functions that use the DrawPoly command. Might be worth checking out.
http://www.monkeycoder.co.nz/Community/posts.php?topic=2462