Share via


CALayer.InsertSublayerAbove(CALayer, CALayer) Method

Definition

Inserts the specified layer into the Sublayers array immediately after sibling.

[Foundation.Export("insertSublayer:above:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void InsertSublayerAbove(CoreAnimation.CALayer layer, CoreAnimation.CALayer? sibling);
[<Foundation.Export("insertSublayer:above:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member InsertSublayerAbove : CoreAnimation.CALayer * CoreAnimation.CALayer -> unit
override this.InsertSublayerAbove : CoreAnimation.CALayer * CoreAnimation.CALayer -> unit

Parameters

layer
CALayer

The layer being inserted.

sibling
CALayer

The existing sublayer, which will subsequently appear behind layer.

Attributes

Applies to