共用方式為


NSColor.FromCalibratedRgba 方法

定義

多載

FromCalibratedRgba(Byte, Byte, Byte, Byte)
FromCalibratedRgba(Int32, Int32, Int32, Int32)
FromCalibratedRgba(nfloat, nfloat, nfloat, nfloat)

FromCalibratedRgba(Byte, Byte, Byte, Byte)

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

參數

red
Byte
green
Byte
blue
Byte
alpha
Byte

傳回

適用於

FromCalibratedRgba(Int32, Int32, Int32, Int32)

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

參數

red
Int32
green
Int32
blue
Int32
alpha
Int32

傳回

適用於

FromCalibratedRgba(nfloat, nfloat, nfloat, nfloat)

[Foundation.Export("colorWithCalibratedRed:green:blue:alpha:")]
public static AppKit.NSColor FromCalibratedRgba (nfloat red, nfloat green, nfloat blue, nfloat alpha);
static member FromCalibratedRgba : nfloat * nfloat * nfloat * nfloat -> AppKit.NSColor

參數

red
nfloat
green
nfloat
blue
nfloat
alpha
nfloat

傳回

屬性

適用於