Version: 0.6.0

#include <color.h>

Public Member Functions

 wxGISColor (ChannelType red, ChannelType green, ChannelType blue, ChannelType alpha=wxALPHA_OPAQUE)
 
 wxGISColor (const wxColour &Color)
 
 wxGISColor (const wxGISColor &Color)
 
wxColour GetColour () const
 
wxGISColoroperator= (const wxGISColor &Color)
 
double GetRed () const
 
double GetBlue () const
 
double GetGreen () const
 
double GetAlpha () const
 
ChannelType Red () const
 
ChannelType Blue () const
 
ChannelType Green () const
 
ChannelType Alpha () const
 
void Set (ChannelType red, ChannelType green, ChannelType blue, ChannelType alpha=wxALPHA_OPAQUE)
 
virtual wxString GetAsString (long nFlags=wxC2S_NAME|wxC2S_CSS_SYNTAX) const
 
virtual void SetFromString (const wxString &sColorTxt)
 
virtual void SetAlpha (ChannelType alpha)
 
virtual void SetRed (ChannelType red)
 
virtual void SetGreen (ChannelType green)
 
virtual void SetBlue (ChannelType blue)
 

Static Public Member Functions

static wxGISColor MakeRandom (ChannelType low=205)
 

Protected Member Functions

virtual void SetValues (ChannelType red, ChannelType green, ChannelType blue, ChannelType alpha)
 

Protected Attributes

double m_dfRed
 
double m_dfBlue
 
double m_dfGreen
 
double m_dfAlpha
 
ChannelType m_nRed
 
ChannelType m_nGreen
 
ChannelType m_nBlue
 
ChannelType m_nAlpha
 

Detailed Description

The color representation class

Library:  wxGISDisplay

The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/display/color.h
  • /home/bishop/work/projects/nextgismanager/src/display/color.cpp