public RectangleI(Point location, SizeI size) { x = location.X; y = location.Y; width = size.Width; height = size.Height; }
public void Inflate(SizeI size) { Inflate(size.Width, size.Height); }
public SizeI(SizeI size) { width = size.width; height = size.height; }
public bool Equals(SizeI other) { return(width == other.width && height == other.height); }
public static SizeI Subtract(SizeI sz1, SizeI sz2) { return(new SizeI(sz1.Width - sz2.Width, sz1.Height - sz2.Height)); }
public static SizeI Add(SizeI sz1, SizeI sz2) { return(new SizeI(sz1.Width + sz2.Width, sz1.Height + sz2.Height)); }