Поделиться через


CALayerDelegate_Extensions.WillDrawLayer(ICALayerDelegate, CALayer) Метод

Определение

Метод, который вызывается, когда layer будет отрисована.

[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 static void WillDrawLayer (this CoreAnimation.ICALayerDelegate This, CoreAnimation.CALayer layer);
static member WillDrawLayer : CoreAnimation.ICALayerDelegate * CoreAnimation.CALayer -> unit

Параметры

This
ICALayerDelegate

Экземпляр, с которым работает этот метод расширения.

layer
CALayer

Слой, который будет перерисовыван.

Атрибуты

Применяется к