Share via


NSColor.FromDeviceHsba Method

Definition

Overloads

FromDeviceHsba(NFloat, NFloat, NFloat, NFloat)

[Foundation.Export("colorWithDeviceHue:saturation:brightness:alpha:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AppKit.NSColor FromDeviceHsba(System.Runtime.InteropServices.NFloat hue, System.Runtime.InteropServices.NFloat saturation, System.Runtime.InteropServices.NFloat brightness, System.Runtime.InteropServices.NFloat alpha);
[<Foundation.Export("colorWithDeviceHue:saturation:brightness:alpha:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromDeviceHsba : 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

FromDeviceHsba(Byte, Byte, Byte, Byte)

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

Parameters

hue
Byte
saturation
Byte
brightness
Byte
alpha
Byte

Returns

Applies to

FromDeviceHsba(Int32, Int32, Int32, Int32)

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

Parameters

hue
Int32
saturation
Int32
brightness
Int32
alpha
Int32

Returns

Applies to