Creates and returns an NSColor object whose component values are a weighted sum of the receiver’s and the specified color object's.
Original signature is '- (NSColor *)blendedColorWithFraction:(CGFloat)fraction ofColor:(NSColor *)color'
Available in Mac OS X v10.0 and later.
|C#||Visual Basic||Visual C++|
- fraction (CGFloat)
- The amount of the color to blend with the receiver's color. The method converts color and a copy of the receiver to RGB, and then sets each component of the returned color to fraction of color’s value plus 1 – fraction of the receiver’s.
- color (NSColor)
- The color to blend with the receiver's color.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)