Share via


UIView.ConvertRectToView(CGRect, UIView) 方法

定义

this 对象的坐标系转换为 的坐标系。

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

参数

rect
CGRect
toView
UIView

内容待定。

此参数可以为 null

返回

属性

适用于