Edit

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:")]
public static AppKit.NSColor FromDeviceRgba(nfloat red, nfloat green, nfloat blue, nfloat alpha);
static member FromDeviceRgba : nfloat * nfloat * nfloat * nfloat -> AppKit.NSColor

Parameters

red
nfloat
green
nfloat
blue
nfloat
alpha
nfloat

Returns

Attributes

Applies to