// NSString * MAStringFromMapSize (MAMapSize size); //[DllImport("__Internal")] //static extern NSString MAStringFromMapSize(MAMapSize size); //// public static string MAStringFromMapSize(MAMapSize size) { var a = size.width; var b = size.height; return(string.Format(@"{%.1f, %.1f}", a, b)); }
// BOOL MAMapSizeEqualToSize (MAMapSize size1, MAMapSize size2); //[DllImport("__Internal")] //static extern bool MAMapSizeEqualToSize(MAMapSize size1, MAMapSize size2); //// public static bool MAMapSizeEqualToSize(MAMapSize size1, MAMapSize size2) { return(size1.width == size2.width && size1.height == size2.height); }
static extern bool MAMapSizeContainsSize(MAMapSize size1, MAMapSize size2);