public float X {get;set;}
public float Y {get;set;}
public float Width {get;set;}
public float Height{get;set;}
public static void Main()
Console.WriteLine(b.X + "," + b.Y + "," + b.Width + "," + b.Height);
Console.WriteLine(c.X + "," + c.Y + "," + c.Width + "," + c.Height);
Console.WriteLine(b.X + "," + b.Y + "," + b.Width + "," + b.Height);
Console.WriteLine(c.X + "," + c.Y + "," + c.Width + "," + c.Height);
public static Rectangle ToPercentage(Rectangle rect) {
Width = 100 / rect.Width,
Height = 100 / rect.Height
public static Rectangle ToProjection(Rectangle rect) {
Width = rect.Width * 100,
Height = rect.Height * 100