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