QGIS API Documentation  2.2.0-Valmiera
 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 324 of file qgsvectorcolorrampv2.cpp.

Referenced by clone().

QgsRandomColorsV2::~QgsRandomColorsV2 ( )

Definition at line 329 of file qgsvectorcolorrampv2.cpp.

Member Function Documentation

QgsVectorColorRampV2 * QgsRandomColorsV2::clone ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 361 of file qgsvectorcolorrampv2.cpp.

References QgsRandomColorsV2().

QColor QgsRandomColorsV2::color ( double  value) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 345 of file qgsvectorcolorrampv2.cpp.

References DEFAULT_RANDOM_SAT_MAX, and DEFAULT_RANDOM_SAT_MIN.

int QgsRandomColorsV2::count ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 334 of file qgsvectorcolorrampv2.cpp.

QgsStringMap QgsRandomColorsV2::properties ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 366 of file qgsvectorcolorrampv2.cpp.

QString QgsRandomColorsV2::type ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 356 of file qgsvectorcolorrampv2.cpp.

double QgsRandomColorsV2::value ( int  index) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 339 of file qgsvectorcolorrampv2.cpp.


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