Szerkesztés

Megosztás a következőn keresztül:


CALayer.Clone(CALayer) Method

Definition

This method should be overwritten to provide cloning capabilities for the layer.

public virtual void Clone (CoreAnimation.CALayer other);
abstract member Clone : CoreAnimation.CALayer -> unit
override this.Clone : CoreAnimation.CALayer -> unit

Parameters

other
CALayer

The other layer to copy infromation from.

Remarks

You can either override this method and clone the information that you need from the original layer, or perform the copy in your initWithLayer: constructor (see the class description for details and a sample).

Applies to