MKMapView.ConvertRect 方法

定义

重载

ConvertRect(CGRect, NSView)
ConvertRect(CGRect, UIView)

ConvertRect(CGRect, NSView)

[Foundation.Export("convertRect:toRegionFromView:")]
public virtual MapKit.MKCoordinateRegion ConvertRect (CoreGraphics.CGRect rect, AppKit.NSView toRegionFromView);
abstract member ConvertRect : CoreGraphics.CGRect * AppKit.NSView -> MapKit.MKCoordinateRegion
override this.ConvertRect : CoreGraphics.CGRect * AppKit.NSView -> MapKit.MKCoordinateRegion

参数

rect
CGRect
toRegionFromView
NSView

返回

属性

适用于

ConvertRect(CGRect, UIView)

[Foundation.Export("convertRect:toRegionFromView:")]
public virtual MapKit.MKCoordinateRegion ConvertRect (CoreGraphics.CGRect rect, UIKit.UIView toRegionFromView);
abstract member ConvertRect : CoreGraphics.CGRect * UIKit.UIView -> MapKit.MKCoordinateRegion
override this.ConvertRect : CoreGraphics.CGRect * UIKit.UIView -> MapKit.MKCoordinateRegion

参数

rect
CGRect
toRegionFromView
UIView

内容待定。

此参数可以为 null

返回

属性

适用于