Exemplo n.º 1
0
 public static Rectangle FromCenterSize(PointF Center, PointF Size)
 {
     Size = Size.Divide(2);
     return new Rectangle(new Line(Center.Subtract(Size), Center.Add(Size)));
 }