GetRgba

GetRgba(int)

Ruft RGBA-Farbe mit einer bestimmten Anzahl von Bits pro Sample ab.

public static PixelDataFormat GetRgba(int bitsPerSample)
ParameterTypBeschreibung
bitsPerSampleInt32Die Anzahl der Bits pro Sample.

Rückgabewert

Die RGBA-Farbe.

Siehe auch


GetRgba(int, int, int, int)

Ruft RGBA-Farbe mit einer bestimmten Anzahl von Bits pro Sample ab.

public static PixelDataFormat GetRgba(int bitsPerRedChannel, int bitsPerGreenChannel, 
    int bitsPerBlueChannel, int bitsPerAlphaChannel)
ParameterTypBeschreibung
bitsPerRedChannelInt32Die Anzahl der Bits pro Red-Kanal.
bitsPerGreenChannelInt32Die Anzahl der Bits pro Green-Kanal.
bitsPerBlueChannelInt32Die Anzahl der Bits pro Blue-Kanal.
bitsPerAlphaChannelInt32Die Anzahl der Bits pro Alphakanal.

Rückgabewert

Die RGBA-Farbe.

Siehe auch