Share via


NSColor.FromHsba Method

Definition

Overloads

FromHsba(NFloat, NFloat, NFloat, NFloat)

[Foundation.Export("colorWithHue:saturation:brightness:alpha:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AppKit.NSColor FromHsba(System.Runtime.InteropServices.NFloat hue, System.Runtime.InteropServices.NFloat saturation, System.Runtime.InteropServices.NFloat brightness, System.Runtime.InteropServices.NFloat alpha);
[<Foundation.Export("colorWithHue:saturation:brightness:alpha:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromHsba : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> AppKit.NSColor

Parameters

hue
NFloat
saturation
NFloat
brightness
NFloat
alpha
NFloat

Returns

Attributes

Applies to

FromHsba(Int32, Int32, Int32, Int32)

public static AppKit.NSColor FromHsba(int hue, int saturation, int brightness, int alpha);
static member FromHsba : int * int * int * int -> AppKit.NSColor

Parameters

hue
Int32
saturation
Int32
brightness
Int32
alpha
Int32

Returns

Applies to

FromHsba(Byte, Byte, Byte, Byte)

public static AppKit.NSColor FromHsba(byte hue, byte saturation, byte brightness, byte alpha);
static member FromHsba : byte * byte * byte * byte -> AppKit.NSColor

Parameters

hue
Byte
saturation
Byte
brightness
Byte
alpha
Byte

Returns

Applies to