Share via


NSColor.FromRgba メソッド

定義

オーバーロード

FromRgba(Byte, Byte, Byte, Byte)
FromRgba(Int32, Int32, Int32, Int32)
FromRgba(nfloat, nfloat, nfloat, nfloat)

FromRgba(Byte, Byte, Byte, Byte)

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

パラメーター

red
Byte
green
Byte
blue
Byte
alpha
Byte

戻り値

適用対象

FromRgba(Int32, Int32, Int32, Int32)

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

パラメーター

red
Int32
green
Int32
blue
Int32
alpha
Int32

戻り値

適用対象

FromRgba(nfloat, nfloat, nfloat, nfloat)

[Foundation.Export("colorWithRed:green:blue:alpha:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSColor FromRgba (nfloat red, nfloat green, nfloat blue, nfloat alpha);
static member FromRgba : nfloat * nfloat * nfloat * nfloat -> AppKit.NSColor

パラメーター

red
nfloat
green
nfloat
blue
nfloat
alpha
nfloat

戻り値

属性

適用対象