NSColor.FromDeviceRgba 方法

定义

重载

FromDeviceRgba(Byte, Byte, Byte, Byte)
FromDeviceRgba(Int32, Int32, Int32, Int32)
FromDeviceRgba(nfloat, nfloat, nfloat, nfloat)

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

参数

red
Byte
green
Byte
blue
Byte
alpha
Byte

返回

适用于

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

参数

red
Int32
green
Int32
blue
Int32
alpha
Int32

返回

适用于

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

参数

red
nfloat
green
nfloat
blue
nfloat
alpha
nfloat

返回

属性

适用于