Color.Color
Inhalt
[
Ausblenden
]Color()
Initialisiert eine neue Instanz vonColor
class. Standardfarbe ist schwarz.
public Color()
Siehe auch
- class Color
- namensraum Aspose.Html.Drawing
- Montage Aspose.HTML
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)
Parameter | Typ | Beschreibung |
---|---|---|
red | Single | Der Rotanteil der Farbe. |
green | Single | Der grüne Anteil der Farbe. |
blue | Single | Der Blauanteil der Farbe. |
Siehe auch
- class Color
- namensraum Aspose.Html.Drawing
- Montage Aspose.HTML
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)
Parameter | Typ | Beschreibung |
---|---|---|
red | Single | Der Rotanteil der Farbe. |
green | Single | Der grüne Anteil der Farbe. |
blue | Single | Der Blauanteil der Farbe. |
alpha | Single | Die Alpha-Komponente der Farbe. |
Siehe auch
- class Color
- namensraum Aspose.Html.Drawing
- Montage Aspose.HTML
Color(byte, byte, byte)
Initialisiert eine neue Instanz vonColor
class. Alle Farbkomponenten müssen im Bereich 0-255 liegen.
public Color(byte red, byte green, byte blue)
Parameter | Typ | Beschreibung |
---|---|---|
red | Byte | Der Rotanteil der Farbe. |
green | Byte | Der grüne Anteil der Farbe. |
blue | Byte | Der Blauanteil der Farbe. |
Siehe auch
- class Color
- namensraum Aspose.Html.Drawing
- Montage Aspose.HTML
Color(byte, byte, byte, byte)
Initialisiert eine neue Instanz vonColor
class. Alle Farbkomponenten müssen im Bereich 0-255 liegen.
public Color(byte red, byte green, byte blue, byte alpha)
Parameter | Typ | Beschreibung |
---|---|---|
red | Byte | Ein Byte, das die rote Komponente der Farbe darstellt. |
green | Byte | Ein Byte, das die grüne Komponente der Farbe darstellt. |
blue | Byte | Ein Byte, das die blaue Komponente der Farbe darstellt. |
alpha | Byte | Ein Byte, das die Alpha-Komponente der Farbe darstellt. |
Siehe auch
- class Color
- namensraum Aspose.Html.Drawing
- Montage Aspose.HTML
Color(int, int, int)
Initialisiert eine neue Instanz vonColor
class. Alle Farbkomponenten müssen im Bereich 0-255 liegen.
public Color(int red, int green, int blue)
Parameter | Typ | Beschreibung |
---|---|---|
red | Int32 | Der Rotanteil der Farbe. |
green | Int32 | Der grüne Anteil der Farbe. |
blue | Int32 | Der Blauanteil der Farbe. |
Siehe auch
- class Color
- namensraum Aspose.Html.Drawing
- Montage Aspose.HTML
Color(int, int, int, int)
Initialisiert eine neue Instanz vonColor
class. Alle Farbkomponenten müssen im Bereich 0-255 liegen.
public Color(int red, int green, int blue, int alpha)
Parameter | Typ | Beschreibung |
---|---|---|
red | Int32 | Der Rotanteil der Farbe. |
green | Int32 | Der grüne Anteil der Farbe. |
blue | Int32 | Der Blauanteil der Farbe. |
alpha | Int32 | Die Alpha-Komponente der Farbe. |
Siehe auch
- class Color
- namensraum Aspose.Html.Drawing
- Montage Aspose.HTML