public IRect(IRect source) { x = source.x; y = source.y; Width = source.Width; Height = source.Height; }
public IRect ToRectangle() { IRect r = new IRect(); r.x = x; r.y = y; r.Width = Width; r.Height = Height; return(r); }