draw polygon.