Color
Overview
Color C++ için Aspose.Cells FOSS’ta bir yapıdır.
Renk temsil eder.
Bu yapı, C++ programlarında renk nesneleriyle çalışmak için 14 yöntem sunar. Mevcut yöntemler şunları içerir: Color, Empty, Equals, FromArgb, FromCore, GetA, GetB, GetG, GetHashCode, GetR, ToCore. Tüm kamu üyeleri, C++ paket için Aspose.Cells FOSS’u yükledikten sonra herhangi bir C ++ uygulamasına erişilebilir. Aksesuar yöntemleri : Color.
Aksesuar Yöntemleri
| Name | Type | Access | Description |
|---|---|---|---|
Color | Color | Read | Renk alır. |
Methods
| Signature | Description |
|---|---|
Color() → Color | boşluğu alır. |
Color() → Color | ARGB bileşenlerinden bir renk oluşturur. a. r. g. b. renk. |
Color() | Renk yapısının yeni bir örneği başlatır. |
Color(a: std::uint8_t, r: std::uint8_t, g: std::uint8_t, b: std::uint8_t) | Bir renk yapısı yeni bir örnek başlatır. a. r. g. b. |
GetA() → std::uint8_t | A’yı alır. |
GetR() → std::uint8_t | R’yi bulur. |
GetG() → std::uint8_t | G’yi alır. |
GetB() → std::uint8_t | B’yi alır. |
Empty() → Color | boşluğu alır. |
FromArgb(a: int, r: int, g: int, b: int) → Color | ARGB bileşenlerinden bir renk oluşturur. a. r. g. b. renk. |
Equals(other: Color) → bool | Belirlenen değerin mevcut durumun eşit olup olmadığını belirler. diğer. gerçek ise koşul yerine getirilirse; aksi takdirde, yanlış. |
GetHashCode() → int | Şu an için bir hash kodu iade eder.Hash kodu. |
ToCore() → Core::ColorValue | Yönlendirme: Yüzeyde dönüşüm yapılır. |
FromCore(value: Core::ColorValue) → Color | Bir renk oluşturur: ColorValue bir çekirdekten. |