A polygon is defined as a shape that has area. Therefore, this is a coloured polygon:
//window -p @poly | drawrect -fr @poly 255 1 50 50 50 50
..but I doubt that's what you want. You'll have to be more specific.
And why do I have to prove that I can script? My point is a valid one. With your expertise you shouldn't have to ask these basic questions.