CALayer.InsertSublayer(CALayer, Int32) Method

Definition

Inserts the specified layer into the Sublayers array at the specified index.

[Foundation.Export("insertSublayer:atIndex:")]
public virtual void InsertSublayer (CoreAnimation.CALayer layer, int index);
abstract member InsertSublayer : CoreAnimation.CALayer * int -> unit
override this.InsertSublayer : CoreAnimation.CALayer * int -> unit

Parameters

layer
CALayer

The layer being inserted.

index
Int32

The index at which to insert the layer.

Attributes

Applies to