MonobjcMonobjc Documented Class Library
Multiply Operator
NamespacesMonobjc.AppKitNSColorMultiply(NSColor, Single)

Returns an NSColor object that represents a blend between the receiver and the highlight color returned by highlightColor.

Original signature is '- (NSColor *)highlightWithLevel:( CGFloat)highlightLevel'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSColor operator *(
	NSColor color,
	float highlightLevel
Public Shared Operator * ( _
	color As NSColor, _
	highlightLevel As Single _
) As NSColor
static NSColor^ operator *(
	NSColor^ color, 
	float highlightLevel
color (NSColor)
The color.
highlightLevel (Single)
The amount of the highlight color that is blended with the receiver's color. This should be a number from 0.0 through 1.0. A highlightLevel below 0.0 is interpreted as 0.0; a highlightLevel above 1.0 is interpreted as 1.0.
Return Value
The new NSColor object. Returns nil if the colors can�t be converted.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)