MonobjcMonobjc Documented Class Library
GetHueSaturationBrightnessAlpha Method (hue, saturation, brightness, alpha)
NamespacesMonobjc.AppKitNSColorGetHueSaturationBrightnessAlpha(CGFloat%, CGFloat%, CGFloat%, CGFloat%)

Returns the receiver’s HSB component and opacity values in the respective arguments.

Original signature is '- (void)getHue:(CGFloat *)hue saturation:(CGFloat *)saturation brightness:(CGFloat *)brightness alpha:(CGFloat *)alpha'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void GetHueSaturationBrightnessAlpha(
	out CGFloat hue,
	out CGFloat saturation,
	out CGFloat brightness,
	out CGFloat alpha
Public Overridable Sub GetHueSaturationBrightnessAlpha ( _
	<OutAttribute> ByRef hue As CGFloat, _
	<OutAttribute> ByRef saturation As CGFloat, _
	<OutAttribute> ByRef brightness As CGFloat, _
	<OutAttribute> ByRef alpha As CGFloat _
virtual void GetHueSaturationBrightnessAlpha(
	[OutAttribute] CGFloat% hue, 
	[OutAttribute] CGFloat% saturation, 
	[OutAttribute] CGFloat% brightness, 
	[OutAttribute] CGFloat% alpha
hue (CGFloat%)
Upon return, contains the hue component of the color object.
saturation (CGFloat%)
Upon return, contains the saturation component of the color object.
brightness (CGFloat%)
Upon return, contains the brightness component of the color object.
alpha (CGFloat%)
Upon return, contains the opacity value of the color object.
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)