Hi,
I have a four coordinates points like A(x1,y1),B(x2,y2) ,C(X3,y3),D(x4,y4) but i need to create rectangle from four points like (Rectangle rect =new Rectangle(x,y,width,height)).i need to draw the rectangle using Rect function not by points.How to achieve this.Please provide suggestions to this.Thanks in advance.

Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 16, 2017, 12:15 AM EDT
jeya pandi56 reputationPosted Jun 16, 2017, 12:41 AM EDT
Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 16, 2017, 12:55 AM EDT
Rajkiran SwainRank #165 · 14.4K reputationPosted Jun 16, 2017, 1:08 AM EDT
jeya pandi56 reputationPosted Jun 16, 2017, 1:17 AM EDT
Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 16, 2017, 1:21 AM EDT
jeya pandi56 reputationPosted Jun 16, 2017, 1:35 AM EDT