Share via


NSColor.FromDeviceRgba Method

Definition

Overloads

FromDeviceRgba(Byte, Byte, Byte, Byte)

public static AppKit.NSColor FromDeviceRgba(byte red, byte green, byte blue, byte alpha);
static member FromDeviceRgba : byte * byte * byte * byte -> AppKit.NSColor

Parameters

red
Byte
green
Byte
blue
Byte
alpha
Byte

Returns

Applies to

FromDeviceRgba(Int32, Int32, Int32, Int32)

public static AppKit.NSColor FromDeviceRgba(int red, int green, int blue, int alpha);
static member FromDeviceRgba : int * int * int * int -> AppKit.NSColor

Parameters

red
Int32
green
Int32
blue
Int32
alpha
Int32

Returns

Applies to

FromDeviceRgba(NFloat, NFloat, NFloat, NFloat)

[Foundation.Export("colorWithDeviceRed:green:blue:alpha:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AppKit.NSColor FromDeviceRgba(System.Runtime.InteropServices.NFloat red, System.Runtime.InteropServices.NFloat green, System.Runtime.InteropServices.NFloat blue, System.Runtime.InteropServices.NFloat alpha);
[<Foundation.Export("colorWithDeviceRed:green:blue:alpha:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromDeviceRgba : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> AppKit.NSColor

Parameters

red
NFloat
green
NFloat
blue
NFloat
alpha
NFloat

Returns

Attributes

Applies to