A layer that draws a cubic Bezier spline in its coordinate space.
- iOS 3.0+
- macOS 10.6+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- Core Animation
The shape is composited between the layer's contents and its first sublayer.
The shape will be drawn antialiased, and whenever possible it will be mapped into screen space before being rasterized to preserve resolution independence. However, certain kinds of image processing operations, such as CoreImage filters, applied to the layer or its ancestors may force rasterization in a local coordinate space.