It is not such a very odd business. Here two square shapes are drawn, one is written using the rect() function and the other uses draw(path), The drawpath() shape accepts the state fill and stroke values. 65 more words
The arrow shape is defined using a (decimal) ratio, e.g. 0.5 & etc. I have also added a further point, making 8 in total, and I can see that having an option for adding a further two might be useful in some cases. 218 more words
Decided to add a rotate argument to the centred basic square shape library function, and discovered a strange result (above right). To correct this anomaly, I re-wrote the function using path notation.