CALayer.Clone(CALayer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).