共用方式為


CALayer.ConvertRectToLayer(CGRect, CALayer) 方法

定義

[Foundation.Export("convertRect:toLayer:")]
public virtual CoreGraphics.CGRect ConvertRectToLayer (CoreGraphics.CGRect rect, CoreAnimation.CALayer layer);
abstract member ConvertRectToLayer : CoreGraphics.CGRect * CoreAnimation.CALayer -> CoreGraphics.CGRect
override this.ConvertRectToLayer : CoreGraphics.CGRect * CoreAnimation.CALayer -> CoreGraphics.CGRect

參數

rect
CGRect
layer
CALayer

即將加入。

這個參數可以是 null

傳回

屬性

適用於