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

傳回

屬性

適用於