MonobjcMonobjc Documented Class Library
CALayer Constructor (layer)
NamespacesMonobjc.QuartzCoreCALayerCALayer(Id)

Override to copy or initialize custom fields of the specified layer.

Original signature is '- (id)initWithLayer:(id)layer'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public CALayer(
	Id layer
)
Public Sub New ( _
	layer As Id _
)
public:
CALayer(
	Id^ layer
)
Parameters
layer (Id)
The layer from which custom fields should be copied.
Return Value
A layer instance with any custom instance variables copied from layer.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)