Color.Color

Color()

Initialisiert eine neue Instanz vonColor class. Standardfarbe ist schwarz.

public Color()

Siehe auch


Color(float, float, float)

Initialisiert eine neue Instanz vonColor class. Alle Farbkomponenten müssen im Bereich 0-1 liegen.

public Color(float red, float green, float blue)
ParameterTypBeschreibung
redSingleDer Rotanteil der Farbe.
greenSingleDer grüne Anteil der Farbe.
blueSingleDer Blauanteil der Farbe.

Siehe auch


Color(float, float, float, float)

Initialisiert eine neue Instanz vonColor class. Alle Farbkomponenten müssen im Bereich 0-1 liegen.

public Color(float red, float green, float blue, float alpha)
ParameterTypBeschreibung
redSingleDer Rotanteil der Farbe.
greenSingleDer grüne Anteil der Farbe.
blueSingleDer Blauanteil der Farbe.
alphaSingleDie Alpha-Komponente der Farbe.

Siehe auch


Color(byte, byte, byte)

Initialisiert eine neue Instanz vonColorclass. Alle Farbkomponenten müssen im Bereich 0-255 liegen.

public Color(byte red, byte green, byte blue)
ParameterTypBeschreibung
redByteDer Rotanteil der Farbe.
greenByteDer grüne Anteil der Farbe.
blueByteDer Blauanteil der Farbe.

Siehe auch


Color(byte, byte, byte, byte)

Initialisiert eine neue Instanz vonColorclass. Alle Farbkomponenten müssen im Bereich 0-255 liegen.

public Color(byte red, byte green, byte blue, byte alpha)
ParameterTypBeschreibung
redByteEin Byte, das die rote Komponente der Farbe darstellt.
greenByteEin Byte, das die grüne Komponente der Farbe darstellt.
blueByteEin Byte, das die blaue Komponente der Farbe darstellt.
alphaByteEin Byte, das die Alpha-Komponente der Farbe darstellt.

Siehe auch


Color(int, int, int)

Initialisiert eine neue Instanz vonColorclass. Alle Farbkomponenten müssen im Bereich 0-255 liegen.

public Color(int red, int green, int blue)
ParameterTypBeschreibung
redInt32Der Rotanteil der Farbe.
greenInt32Der grüne Anteil der Farbe.
blueInt32Der Blauanteil der Farbe.

Siehe auch


Color(int, int, int, int)

Initialisiert eine neue Instanz vonColorclass. Alle Farbkomponenten müssen im Bereich 0-255 liegen.

public Color(int red, int green, int blue, int alpha)
ParameterTypBeschreibung
redInt32Der Rotanteil der Farbe.
greenInt32Der grüne Anteil der Farbe.
blueInt32Der Blauanteil der Farbe.
alphaInt32Die Alpha-Komponente der Farbe.

Siehe auch