MonobjcMonobjc Documented Class Library
Division Operator
NamespacesMonobjc.AppKitNSColorDivision(NSColor, Single)

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

Original signature is '- (NSColor *)shadowWithLevel:( CGFloat)shadowLevel'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSColor operator /(
	NSColor color,
	float shadowLevel
)
Public Shared Operator / ( _
	color As NSColor, _
	shadowLevel As Single _
) As NSColor
public:
static NSColor^ operator /(
	NSColor^ color, 
	float shadowLevel
)
Parameters
color (NSColor)
The color.
shadowLevel (Single)
The amount of the shadow color used for the blend. This should be a number from 0.0 through 1.0. A shadowLevel below 0.0 is interpreted as 0.0; a shadowLevel 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)