wxFreeChart
Public Member Functions | List of all members
ColorScheme Class Reference

Defines set of colors for use by PiePlots, etc... More...

#include <colorscheme.h>

Public Member Functions

 ColorScheme (wxColour *colours, size_t count)
 
void operator= (const ColorScheme &cs)
 Sets this color scheme equal to other color scheme. More...
 
void AddColour (wxColour colour)
 Add colour to color scheme. More...
 
size_t GetCount ()
 Returns color count in this color scheme. More...
 
wxColour GetColor (size_t index)
 Returns color at specified index. More...
 

Detailed Description

Defines set of colors for use by PiePlots, etc...

Definition at line 21 of file colorscheme.h.

Member Function Documentation

void ColorScheme::AddColour ( wxColour  colour)
inline

Add colour to color scheme.

Parameters
colourcolour to be added

Definition at line 42 of file colorscheme.h.

wxColour ColorScheme::GetColor ( size_t  index)
inline

Returns color at specified index.

Parameters
indexindex of color
Returns
color at specified index

Definition at line 61 of file colorscheme.h.

size_t ColorScheme::GetCount ( )
inline

Returns color count in this color scheme.

Returns
color count

Definition at line 51 of file colorscheme.h.

void ColorScheme::operator= ( const ColorScheme cs)
inline

Sets this color scheme equal to other color scheme.

Parameters
csother color scheme

Definition at line 33 of file colorscheme.h.


The documentation for this class was generated from the following file: