30#include "../base/PEBLObject.h"
40 PColor(
unsigned int color);
41 PColor(
int red,
int green,
int blue,
int alpha);
42 PColor(
const std::string & colorname);
85 virtual std::ostream &
SendToStream(std::ostream& out)
const;
90 int To8BitColor(
int color);
virtual std::ostream & SendToStream(std::ostream &out) const
This sends the color descriptions to the specified stream.
virtual ObjectValidationError ValidateProperty(std::string name, Variant v) const
void SetColorByName(const std::string &colorname)
Sets color as by its name.
virtual ~PColor()
Copy constructor.
PColor()
Standard constructor of PColor.
PColor(const std::string &colorname)
Constructor.
virtual bool SetProperty(std::string, Variant v)
Standard Destructor.
bool HasChanged() const
Change detection for nested property modifications.
virtual std::string ObjectName() const
unsigned int GetColor() const
Gets 32-bit unsigned int color.
void SetColorByRGBA(unsigned int color)
Sets color as a 32-bit unsigned int.