QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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 164 of file qgsvectorcolorrampv2.h.

Constructor & Destructor Documentation

QgsRandomColorsV2::QgsRandomColorsV2 ( )

Definition at line 343 of file qgsvectorcolorrampv2.cpp.

Referenced by clone().

QgsRandomColorsV2::~QgsRandomColorsV2 ( )

Definition at line 348 of file qgsvectorcolorrampv2.cpp.

Member Function Documentation

QgsVectorColorRampV2 * QgsRandomColorsV2::clone ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 380 of file qgsvectorcolorrampv2.cpp.

References QgsRandomColorsV2().

QColor QgsRandomColorsV2::color ( double  value) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 364 of file qgsvectorcolorrampv2.cpp.

References DEFAULT_RANDOM_SAT_MAX, and DEFAULT_RANDOM_SAT_MIN.

int QgsRandomColorsV2::count ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 353 of file qgsvectorcolorrampv2.cpp.

QgsStringMap QgsRandomColorsV2::properties ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 385 of file qgsvectorcolorrampv2.cpp.

QString QgsRandomColorsV2::type ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 375 of file qgsvectorcolorrampv2.cpp.

double QgsRandomColorsV2::value ( int  index) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 358 of file qgsvectorcolorrampv2.cpp.


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