Bewerken

Delen via


CALayerDelegate_Extensions.WillDrawLayer(ICALayerDelegate, CALayer) Method

Definition

Method that is called when layer is about to be drawn.

[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

Parameters

This
ICALayerDelegate

The instance on which this extension method operates.

layer
CALayer

The layer that will be redrawn.

Attributes

Applies to