Draws the contents of a layer object at the specified point.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Xcode 7.1+
- Core Graphics
The layer whose contents you want to draw.
The location, in current user space coordinates, to use as the origin for the drawing.
Calling this method is equivalent to calling the
draw(_: method with a rectangle whose origin is the specified point and whose size matches that of the specified layer.