API  0.9.10
CPGradient Class Reference

#import <CPGradient.h>

+ Inheritance diagram for CPGradient:

Instance Methods

(void) - drawFromPoint:toPoint:options:
 
(void) - drawInBezierPath:angle:
 
(void) - drawInRect:angle:
 
(id) - initWithColors:
 
(id) - initWithColors:atLocations:colorSpace:
 
(id) - initWithStartingColor:endingColor:
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context:
 
(void) - applyChange:toKeyPath:
 
(id) - autorelease
 
(id) - awakeAfterUsingCoder:
 
(void) - awakeFromCib
 
(void) - bind:toObject:withKeyPath:options:
 
(Class) - classForCoder
 
(Class) - classForKeyedArchiver
 
(CPString- className
 
(id) - copy
 
(void) - dealloc
 
(CPString- description
 
(CPDictionary- dictionaryWithValuesForKeys:
 
(void) - didChange:valuesAtIndexes:forKey:
 
(void) - didChangeValueForKey:
 
(void) - didChangeValueForKey:withSetMutation:usingObjects:
 
(void) - doesNotRecognizeSelector:
 
(CPArray) - exposedBindings
 
(id) - forwardingTargetForSelector:
 
(void) - forwardInvocation:
 
(unsigned) - hash
 
(BOOL) - implementsSelector:
 
(CPDictionary- infoForBinding:
 
(id) - init
 
(BOOL) - isEqual:
 
(BOOL) - isKindOfClass:
 
(BOOL) - isMemberOfClass:
 
(BOOL) - isProxy
 
(IMP) - methodForSelector:
 
(CPMethodSignature) - methodSignatureForSelector:
 
(id) - mutableArrayValueForKey:
 
(id) - mutableArrayValueForKeyPath:
 
(id) - mutableCopy
 
(id) - mutableSetValueForKey:
 
(id) - mutableSetValueForKeyPath:
 
(id) - performSelector:
 
(id) - performSelector:withObject:
 
(void) - performSelector:withObject:afterDelay:
 
(void) - performSelector:withObject:afterDelay:inModes:
 
(id) - performSelector:withObject:withObject:
 
(id) - performSelector:withObjects:
 
(void) - release
 
(void) - removeObserver:forKeyPath:
 
(id) - replacementObjectForArchiver:
 
(id) - replacementObjectForCoder:
 
(id) - replacementObjectForKeyedArchiver:
 
(BOOL) - respondsToSelector:
 
(id) - retain
 
(id) - self
 
(void) - setValue:forKey:
 
(void) - setValue:forKeyPath:
 
(void) - setValue:forUndefinedKey:
 
(void) - setValuesForKeysWithDictionary:
 
(CPString- UID
 
(void) - unbind:
 
(Class) - valueClassForBinding:
 
(id) - valueForKey:
 
(id) - valueForKeyPath:
 
(id) - valueForUndefinedKey:
 
(void) - willChange:valuesAtIndexes:forKey:
 
(void) - willChangeValueForKey:
 
(void) - willChangeValueForKey:withSetMutation:usingObjects:
 

Additional Inherited Members

- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly
 
(id) + alloc
 
(id) + allocWithCoder:
 
(BOOL) + automaticallyNotifiesObserversForKey:
 
(void) + cancelPreviousPerformRequestsWithTarget:
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object:
 
(Class) + class
 
(BOOL) + conformsToProtocol:
 
(void) + exposeBinding:
 
(void) + initialize
 
(IMP) + instanceMethodForSelector:
 
(BOOL) + instancesImplementSelector:
 
(BOOL) + instancesRespondToSelector:
 
(BOOL) + isBindingExclusive:
 
(BOOL) + isSubclassOfClass:
 
(CPSet) + keyPathsForValuesAffectingValueForKey:
 
(void) + load
 
(id) + new
 
(void) + object:performSelector:withObject:afterDelay:inModes:
 
(void) + setVersion:
 
(Class) + superclass
 
(int) + version
 

Detailed Description

A class for drawing linear and radial gradients with a convenient API.

Definition at line 2 of file CPGradient.h.

Method Documentation

◆ drawFromPoint:toPoint:options:()

- (void) drawFromPoint: (NSPoint)  startingPoint
toPoint: (NSPoint)  endingPoint
options: (NSGradientDrawingOptions)  options 
implementation

Definition at line 152 of file CPGradient.j.

◆ drawInBezierPath:angle:()

- (void) drawInBezierPath: (CPBezierPath aPath
angle: (float)  anAngle 
implementation

Definition at line 133 of file CPGradient.j.

◆ drawInRect:angle:()

- (void) drawInRect: (CGRect)  rect
angle: (float)  angle 
implementation

Definition at line 77 of file CPGradient.j.

◆ initWithColors:()

- (id) initWithColors: (CPArray)  someColors
implementation

Definition at line 41 of file CPGradient.j.

◆ initWithColors:atLocations:colorSpace:()

- (id) initWithColors: (CPArray)  someColors
atLocations: (CPArray)  someLocations
colorSpace: (CPColorSpace aColorSpace 
implementation

Definition at line 61 of file CPGradient.j.

◆ initWithStartingColor:endingColor:()

- (id) initWithStartingColor: (CPColor startingColor
endingColor: (CPColor endingColor 
implementation

Definition at line 36 of file CPGradient.j.


The documentation for this class was generated from the following files: