Example #1
0
 public CGRect(CGPoint location, CGSize size)
 {
     X = location.X;
     Y = location.Y;
     Width = size.Width;
     Height = size.Height;
 }
Example #2
0
 public void Offset(CGPoint pos)
 {
     Offset(pos.X, pos.Y);
 }
Example #3
0
 public bool Contains(CGPoint pt)
 {
     return Contains(pt.X, pt.Y);
 }
Example #4
0
 public static CGPoint Subtract(CGPoint pt, CGSize sz)
 {
     return new CGPoint(pt.X - sz.Width, pt.Y - sz.Height);
 }
Example #5
0
 public static CGPoint Add(CGPoint pt, CGSize sz)
 {
     return new CGPoint(pt.X + sz.Width, pt.Y + sz.Height);
 }
Example #6
0
 public CGSize(CGPoint pt)
 {
     Width  = pt.X;
     Height = pt.Y;
 }
Example #7
0
 public CGSize(CGPoint pt)
 {
     Width = pt.X;
     Height = pt.Y;
 }