couleur
Vue de l’ensemble
« Color » est une structure dans Aspose.Cells FOSS pour C++.
représentent la couleur.
Cette structure fournit 14 méthodes pour travailler avec des objets de couleur dans les programmes C++. Les méthodologies disponibles comprennent: Color, Empty , ‘Equals;FromArgb; GetA : GetB: GetG. Tous les membres publics sont accessibles à n'importe quelle application C ++ après l'installation de l’Aspose.Cell FOSS pour le package C+. Méthodes d'accession : Color’.
Méthodes accessorielles
| Name | Type | Access | Description |
|---|---|---|---|
Color | Color | Read | Gets the color. |
méthodes
| Signature | Description |
|---|---|
Color() → Color | Gets the empty. |
Color() → Color | Creates a color from ARGB components. The a. The r. The g. The b. The color. |
Color() | Initializes a new instance of the Color struct. |
Color(a: std::uint8_t, r: std::uint8_t, g: std::uint8_t, b: std::uint8_t) | Initializes a new instance of the Color struct. The a. The r. The g. The b. |
GetA() → std::uint8_t | Gets the a. |
GetR() → std::uint8_t | Gets the r. |
GetG() → std::uint8_t | Gets the g. |
GetB() → std::uint8_t | Gets the b. |
Empty() → Color | Gets the empty. |
FromArgb(a: int, r: int, g: int, b: int) → Color | Creates a color from ARGB components. The a. The r. The g. The b. The color. |
Equals(other: Color) → bool | Determines whether the specified value is equal to the current instance. The other. true if the condition is met; otherwise, false. |
GetHashCode() → int | Returns a hash code for the current instance. The hash code. |
ToCore() → Core::ColorValue | Conversion to Core::ColorValue. |
FromCore(value: Core::ColorValue) → Color | Creates a Color from a Core::ColorValue. |
Voir aussi
- Aspose.Cells — référence API d’entreprise