MonobjcMonobjc Documented Class Library
ShadowWithLevel Method (shadowLevel)

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 virtual NSColor ShadowWithLevel(
	CGFloat shadowLevel
Public Overridable Function ShadowWithLevel ( _
	shadowLevel As CGFloat _
) As NSColor
virtual NSColor^ ShadowWithLevel(
	CGFloat shadowLevel
shadowLevel (CGFloat)
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)