Creates and returns an NSColor object using the given opacity and HSB color space components.
Original signature is '+ (NSColor *)colorWithCalibratedHue:(CGFloat)hue saturation:(CGFloat)saturation brightness:(CGFloat)brightness alpha:(CGFloat)alpha'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSColor ColorWithCalibratedHueSaturationBrightnessAlpha( CGFloat hue, CGFloat saturation, CGFloat brightness, CGFloat alpha )
Parameters
- hue (CGFloat)
- The hue component of the color object in the HSB color space.
- saturation (CGFloat)
- The saturation component of the color object in the HSB color space.
- brightness (CGFloat)
- The brightness (or value) component of the color object in the HSB color space.
- alpha (CGFloat)
- The opacity value of the color object,
Return Value
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)