Freigeben über


NSColor.FromRgba Methode

Definition

Überlädt

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

Parameter

red
Byte
green
Byte
blue
Byte
alpha
Byte

Gibt zurück

Gilt für:

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

Parameter

red
Int32
green
Int32
blue
Int32
alpha
Int32

Gibt zurück

Gilt für:

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

Parameter

red
nfloat
green
nfloat
blue
nfloat
alpha
nfloat

Gibt zurück

Attribute

Gilt für: