Creates and returns an instance of CALayer.
Original signature is '+ (id)layer'
Available in Mac OS X v10.5 and later.

C# | Visual Basic | Visual C++ |
public static CPTextLayer Layer { get; }
Public Shared ReadOnly Property Layer As CPTextLayer Get
public: static property CPTextLayer^ Layer { CPTextLayer^ get (); }

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)