MonobjcMonobjc Documented Class Library
HighlightWithLevel Method (highlightLevel)
NamespacesMonobjc.AppKitNSColorHighlightWithLevel(CGFloat)

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 virtual NSColor HighlightWithLevel(
	CGFloat highlightLevel
)
Public Overridable Function HighlightWithLevel ( _
	highlightLevel As CGFloat _
) As NSColor
public:
virtual NSColor^ HighlightWithLevel(
	CGFloat highlightLevel
)
Parameters
highlightLevel (CGFloat)
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)