# NSGradient class documentation

Generated at 2026-02-17 21:02:56 +0000
Software documentation for the NSGradient class
AppKit/NSGradient.h
NSCopying
NSCoding
Description forthcoming.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
colorSpace
Description forthcoming.
drawFromCenter:
startCenter
radius:
startRadius
toCenter:
endCenter
radius:
endRadius
options:
options
Description forthcoming.
drawFromPoint:
startPoint
toPoint:
endPoint
options:
options
Description forthcoming.
drawInBezierPath:
path
angle:
angle
Description forthcoming.
drawInBezierPath:
path
relativeCenterPosition:
relativeCenterPoint
Description forthcoming.
drawInRect:
rect
angle:
angle
Description forthcoming.
drawInRect:
rect
relativeCenterPosition:
relativeCenterPoint
Description forthcoming.
getColor:
color
location:
locatuib
atIndex:
index
Description forthcoming.
initWithColors:
colArray
Description forthcoming.
initWithColors:
colArray
atLocations:
locs
colorSpace:
colSpace
Description forthcoming.
initWithColorsAndLocations:
color
Description forthcoming.
initWithStartingColor:
startColor
endingColor:
endColor
Description forthcoming.
interpolatedColorAtLocation:
location
Description forthcoming.
numberOfColorStops
Description forthcoming.