Share via


UIView.ConvertRectToCoordinateSpace(CGRect, IUICoordinateSpace) 方法

定义

this 对象的坐标系转换为 所描述的坐标系。

[Foundation.Export("convertRect:toCoordinateSpace:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGRect ConvertRectToCoordinateSpace (CoreGraphics.CGRect rect, UIKit.IUICoordinateSpace coordinateSpace);
abstract member ConvertRectToCoordinateSpace : CoreGraphics.CGRect * UIKit.IUICoordinateSpace -> CoreGraphics.CGRect
override this.ConvertRectToCoordinateSpace : CoreGraphics.CGRect * UIKit.IUICoordinateSpace -> CoreGraphics.CGRect

参数

rect
CGRect
coordinateSpace
IUICoordinateSpace

返回

实现

属性

适用于