6#include <xtd/iequatable>
42 const std::vector<color>&
entries() const noexcept {
return entries_;}
56 bool equals(
const color_palette& value)
const noexcept override {
return entries_ == value.entries_ && flags_ == value.flags_;}
61 color_palette() =
default;
62 std::vector<color> entries_;
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:49
Defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors....
Definition color_palette.hpp:30
const std::vector< color > & entries() const noexcept
Gets an array of color structures.
Definition color_palette.hpp:42
int32 flags() const noexcept
Gets a value that specifies how to interpret the color information in the array of colors.
Definition color_palette.hpp:49
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
virtual bool equals(const object &obj) const noexcept
Determines whether the specified object is equal to the current object.
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10