Esempio n. 1
0
 public static CGPoint BottomCenter(this CGRect rectangle)
 {
     return(new CGPoint(rectangle.CenterX(), rectangle.Bottom));
 }
Esempio n. 2
0
 public static CGPoint CenterCenter(this CGRect rectangle)
 {
     return(new CGPoint(rectangle.CenterX(), rectangle.CenterY()));
 }
Esempio n. 3
0
 public static CGPoint TopCenter(this CGRect rectangle)
 {
     return(new CGPoint(rectangle.CenterX(), rectangle.Top));
 }