public CGRect(CGPoint location, CGSize size) { X = location.X; Y = location.Y; Width = size.Width; Height = size.Height; }
public void Offset(CGPoint pos) { Offset(pos.X, pos.Y); }
public bool Contains(CGPoint pt) { return Contains(pt.X, pt.Y); }
public static CGPoint Subtract(CGPoint pt, CGSize sz) { return new CGPoint(pt.X - sz.Width, pt.Y - sz.Height); }
public static CGPoint Add(CGPoint pt, CGSize sz) { return new CGPoint(pt.X + sz.Width, pt.Y + sz.Height); }
public CGSize(CGPoint pt) { Width = pt.X; Height = pt.Y; }