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

NameTypeAccessDescription
ColorColorReadGets the color.

méthodes

SignatureDescription
Color()ColorGets the empty.
Color()ColorCreates 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_tGets the a.
GetR()std::uint8_tGets the r.
GetG()std::uint8_tGets the g.
GetB()std::uint8_tGets the b.
Empty()ColorGets the empty.
FromArgb(a: int, r: int, g: int, b: int)ColorCreates a color from ARGB components. The a. The r. The g. The b. The color.
Equals(other: Color)boolDetermines whether the specified value is equal to the current instance. The other. true if the condition is met; otherwise, false.
GetHashCode()intReturns a hash code for the current instance. The hash code.
ToCore()Core::ColorValueConversion to Core::ColorValue.
FromCore(value: Core::ColorValue)ColorCreates a Color from a Core::ColorValue.

Voir aussi

  • Aspose.Cells — référence API d’entreprise
 Français