CALayerDelegate.WillDrawLayer(CALayer) 方法

定义

即将绘制时 layer 调用的方法。

[Foundation.Export("layerWillDraw:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillDrawLayer (CoreAnimation.CALayer layer);
abstract member WillDrawLayer : CoreAnimation.CALayer -> unit
override this.WillDrawLayer : CoreAnimation.CALayer -> unit

参数

layer
CALayer

将重新绘制的层。

属性

适用于