send polygon data from rectangle