Defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors. Not inheritable.
Public Properties | |
const std::vector< color > & | entries () const noexcept |
Gets an array of color structures. | |
int32 | flags () const noexcept |
Gets a value that specifies how to interpret the color information in the array of colors. | |
Public Methods | |
bool | equals (const color_palette &value) const noexcept override |
Additional Inherited Members | |
Public Member Functions inherited from xtd::object | |
object ()=default | |
Create a new instance of the ultimate base class object. | |
bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. | |
virtual type_object | get_type () const noexcept |
Gets the type of the current instance. | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const noexcept |
Creates a shallow copy of the current object. | |
virtual xtd::ustring | to_string () const noexcept |
Returns a sxd::ustring that represents the current object. | |
Public Member Functions inherited from xtd::iequatable< color_palette > | |
virtual bool | equals (const color_palette &) const noexcept=0 |
Indicates whether the current object is equal to another object of the same type. | |
Static Public Member Functions inherited from xtd::object | |
static bool | equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are considered equal. | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. | |
|
inlinenoexcept |
Gets an array of color structures.
|
inlinenoexcept |
Gets a value that specifies how to interpret the color information in the array of colors.