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

NameTypeAccessDescription
ColorColorReadRenk alır.

Methods

SignatureDescription
Color() → Colorboşluğu alır.
Color() → ColorARGB 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_tA’yı alır.
GetR() → std::uint8_tR’yi bulur.
GetG() → std::uint8_tG’yi alır.
GetB() → std::uint8_tB’yi alır.
Empty() → Colorboşluğu alır.
FromArgb(a: int, r: int, g: int, b: int) → ColorARGB bileşenlerinden bir renk oluşturur. a. r. g. b. renk.
Equals(other: Color) → boolBelirlenen 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::ColorValueYönlendirme: Yüzeyde dönüşüm yapılır.
FromCore(value: Core::ColorValue) → ColorBir renk oluşturur: ColorValue bir çekirdekten.

See Also

 Türkçe