Editar

Compartir a través de


NSColor.FromRgb Method

Definition

Overloads

FromRgb(Int32, Int32, Int32)
FromRgb(nfloat, nfloat, nfloat)
FromRgb(Byte, Byte, Byte)

FromRgb(Int32, Int32, Int32)

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

Parameters

red
Int32
green
Int32
blue
Int32

Returns

Applies to

FromRgb(nfloat, nfloat, nfloat)

public static AppKit.NSColor FromRgb (nfloat red, nfloat green, nfloat blue);
static member FromRgb : nfloat * nfloat * nfloat -> AppKit.NSColor

Parameters

red
nfloat
green
nfloat
blue
nfloat

Returns

Applies to

FromRgb(Byte, Byte, Byte)

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

Parameters

red
Byte
green
Byte
blue
Byte

Returns

Applies to