Share via


UIView.WillDrawLayer(CALayer) Method

Definition

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

[Foundation.Export("layerWillDraw:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void WillDrawLayer(CoreAnimation.CALayer layer);
[<Foundation.Export("layerWillDraw:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WillDrawLayer : CoreAnimation.CALayer -> unit
override this.WillDrawLayer : CoreAnimation.CALayer -> unit

Parameters

layer
CALayer

The layer that will be redrawn.

Implements

Attributes

Applies to