Well, i used the star just an a example of what I am trying to do, in fact I need to be able to draw any irregular polygon and fill it. So,since the polygons will be randomly created I can not use the approach of using images. 
thanks and regards

thanks and regards