QGIS API Documentation  2.3.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsRandomColorsV2 Class Reference

#include <qgsvectorcolorrampv2.h>

Inheritance diagram for QgsRandomColorsV2:
Inheritance graph
[legend]
Collaboration diagram for QgsRandomColorsV2:
Collaboration graph
[legend]

Public Member Functions

 QgsRandomColorsV2 ()
 
 ~QgsRandomColorsV2 ()
 
int count () const
 
double value (int index) const
 
QColor color (double value) const
 
QString type () const
 
QgsVectorColorRampV2clone () const
 
QgsStringMap properties () const
 
- Public Member Functions inherited from QgsVectorColorRampV2
virtual ~QgsVectorColorRampV2 ()
 

Detailed Description

Definition at line 158 of file qgsvectorcolorrampv2.h.

Constructor & Destructor Documentation

QgsRandomColorsV2::QgsRandomColorsV2 ( )

Definition at line 336 of file qgsvectorcolorrampv2.cpp.

Referenced by clone().

QgsRandomColorsV2::~QgsRandomColorsV2 ( )

Definition at line 341 of file qgsvectorcolorrampv2.cpp.

Member Function Documentation

QgsVectorColorRampV2 * QgsRandomColorsV2::clone ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 373 of file qgsvectorcolorrampv2.cpp.

References QgsRandomColorsV2().

QColor QgsRandomColorsV2::color ( double  value) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 357 of file qgsvectorcolorrampv2.cpp.

References DEFAULT_RANDOM_SAT_MAX, and DEFAULT_RANDOM_SAT_MIN.

int QgsRandomColorsV2::count ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 346 of file qgsvectorcolorrampv2.cpp.

QgsStringMap QgsRandomColorsV2::properties ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 378 of file qgsvectorcolorrampv2.cpp.

QString QgsRandomColorsV2::type ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 368 of file qgsvectorcolorrampv2.cpp.

double QgsRandomColorsV2::value ( int  index) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 351 of file qgsvectorcolorrampv2.cpp.


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