Up

NSGradient class documentation

Authors

Generated by Gregory John Casamento,,,

Date: Generated at 2023-12-22 15:07:50 -0500

Software documentation for the NSGradient class

NSGradient : NSObject

Declared in:
AppKit/NSGradient.h
Conforms to:
NSCopying
NSCoding
Availability: MacOS-X 10.5.0

Description forthcoming.

Instance Variables

Method summary

colorSpace 

- (NSColorSpace*) colorSpace;
Availability: MacOS-X 10.5.0

Description forthcoming.

drawFromCenter: radius: toCenter: radius: options: 

- (void) drawFromCenter: (NSPoint)startCenter radius: (CGFloat)startRadius toCenter: (NSPoint)endCenter radius: (CGFloat)endRadius options: (NSGradientDrawingOptions)options;
Availability: MacOS-X 10.5.0

Description forthcoming.

drawFromPoint: toPoint: options: 

- (void) drawFromPoint: (NSPoint)startPoint toPoint: (NSPoint)endPoint options: (NSGradientDrawingOptions)options;
Availability: MacOS-X 10.5.0

Description forthcoming.

drawInBezierPath: angle: 

- (void) drawInBezierPath: (NSBezierPath*)path angle: (CGFloat)angle;
Availability: MacOS-X 10.5.0

Description forthcoming.

drawInBezierPath: relativeCenterPosition: 

- (void) drawInBezierPath: (NSBezierPath*)path relativeCenterPosition: (NSPoint)relativeCenterPoint;
Availability: MacOS-X 10.5.0

Description forthcoming.

drawInRect: angle: 

- (void) drawInRect: (NSRect)rect angle: (CGFloat)angle;
Availability: MacOS-X 10.5.0

Description forthcoming.

drawInRect: relativeCenterPosition: 

- (void) drawInRect: (NSRect)rect relativeCenterPosition: (NSPoint)relativeCenterPoint;
Availability: MacOS-X 10.5.0

Description forthcoming.

getColor: location: atIndex: 

- (void) getColor: (NSColor**)color location: (CGFloat*)locatuib atIndex: (NSInteger)index;
Availability: MacOS-X 10.5.0

Description forthcoming.

initWithColors: 

- (id) initWithColors: (NSArray*)colArray;
Availability: MacOS-X 10.5.0

Description forthcoming.

initWithColors: atLocations: colorSpace: 

- (id) initWithColors: (NSArray*)colArray atLocations: (const CGFloat*)locs colorSpace: (NSColorSpace*)colSpace;
Availability: MacOS-X 10.5.0

Description forthcoming.

initWithColorsAndLocations: ,...

- (id) initWithColorsAndLocations: (NSColor*)color,...;
Availability: MacOS-X 10.5.0

Description forthcoming.

initWithStartingColor: endingColor: 

- (id) initWithStartingColor: (NSColor*)startColor endingColor: (NSColor*)endColor;
Availability: MacOS-X 10.5.0

Description forthcoming.

interpolatedColorAtLocation: 

- (NSColor*) interpolatedColorAtLocation: (CGFloat)location;
Availability: MacOS-X 10.5.0

Description forthcoming.

numberOfColorStops 

- (NSInteger) numberOfColorStops;
Availability: MacOS-X 10.5.0

Description forthcoming.



Instance Variables for NSGradient Class

_colorSpace

@protected NSColorSpace* _colorSpace;
Availability: MacOS-X 10.5.0

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.

_colors

@protected NSArray* _colors;
Availability: MacOS-X 10.5.0

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.

_locations

@protected CGFloat* _locations;
Availability: MacOS-X 10.5.0

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.

_numberOfColorStops

@protected NSInteger _numberOfColorStops;
Availability: MacOS-X 10.5.0

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.





Up