Condividi tramite


NSColor.FromRgba Metodo

Definizione

Overload

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

Parametri

red
Byte
green
Byte
blue
Byte
alpha
Byte

Restituisce

Si applica a

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

Parametri

red
Int32
green
Int32
blue
Int32
alpha
Int32

Restituisce

Si applica a

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

Parametri

red
nfloat
green
nfloat
blue
nfloat
alpha
nfloat

Restituisce

Attributi

Si applica a