Contents
Navigation
Home User Reference Other Resources

This is an helper class that allows you to create and manage range of colors; other plugin classes will make use of instances of this class whenever a transition from a color to another one is required to be specified.

Since version 6.7 of the plugin this class can be used in Console Applications






The QTPlgColorRange class constructors are called when you create a new instance of the class, while the ˜QTPlgColorRange class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. A QTPlgColorRange object is always valid.

The class provides you with the following initializer methods:

()
This is the default constructor. Both the and class properties are set to color black
(other as QTPlgColorRange)
This is the copy constructor. If the object to be copied is valid, then its properties will be used to initialize the new class instance properties
(fromColor as color, toColor as color)
the and class properties are initialized respectively to the values of the fromColor and toColor parameters

specifies the start value of the color range
specifies the final value of the color range