ColorValue
ColorValue
概述
ColorValue 是 Aspose.Cells 为 C++ 提供的 FOSS 中的结构体。
表示颜色值。
此结构体提供 7 个方法,以在 C++ 程序中处理 ColorValue 对象。可用的方法包括:ColorValue、Equals、GetA、GetB、GetG、GetHashCode、GetR。在安装了 Aspose.Cells 为 C++ 提供的 FOSS 包后,所有公共成员对任何 C++ 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
ColorValue() | 初始化 ColorValue 结构体的新实例。 |
GetA() → std::uint8_t | 获取 a。 |
GetR() → std::uint8_t | 获取 r。 |
GetG() → std::uint8_t | 获取 g。 |
GetB() → std::uint8_t | 获取 b。 |
Equals(other: ColorValue) → bool | 确定指定的值是否等于当前实例。The other. 条件满足时返回 true;否则返回 false。 |
GetHashCode() → int | 返回当前实例的哈希码。哈希码。 |