MonoMac.CoreAnimation.CAReplicatorLayer Class
A layer that replicates an existing layer, with some attributes (color, transform) altered.

See Also: CAReplicatorLayer Members

Syntax

[MonoMac.Foundation.Register("CAReplicatorLayer", true)]
public class CAReplicatorLayer : CALayer

Remarks

When you want to use one of the CALayer subclasses as your UIView's backing layer, you need to add the following code snippet to your class:

C# Example

class MyView : UIView {
    //
    // This instructs the runtime that whenever a MyView is created
    // that it should instantiate a CAReplicatorLayer and assign that to the
    // UIView.Layer property
    //
    [Export ("layerClass")]
    public static Class LayerClass () {
        return new Class (typeof (CAReplicatorLayer));
    }
}
  

Requirements

Namespace: MonoMac.CoreAnimation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0