Bagikan melalui


CALayerDelegate_Extensions.WillDrawLayer(ICALayerDelegate, CALayer) Metode

Definisi

Metode yang dipanggil ketika layer akan digambar.

[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

Parameter

This
ICALayerDelegate

Instans tempat metode ekstensi ini beroperasi.

layer
CALayer

Lapisan yang akan digambar ulang.

Atribut

Berlaku untuk