다음을 통해 공유


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

반환

특성

적용 대상