Draws a radial gradient between the specified circles.
- macOS 10.5+
The center point of the circle that represents the beginning of the gradient.
The radius of the circle that represents the beginning of the gradient.
The center point of the circle that represents the end of the gradient.
The radius of the circle that represents the end of the gradient.
The gradient options, if any. You can use these options to extend the gradient size beyond the start and end circles. For more information, see
This method draws a radial gradient pattern starting at the first circle and ending at the second circle. The gradient color transitions occur in circular bands emanating from the starting circle and ending at the second circle.
This is a primitive method used by the
NSGradient class to draw radial gradients. Because this method does not perform any clipping of the gradient fill pattern, you must ensure that the clipping region is configured properly if you intend to invoke this method directly. By default, the clipping region is set to the current view or window in which drawing occurs.