Description

This property specifies a color spectrum for the pseudo-coloring look-up table.

Property type

A mcColorSpectrum enumeration.  

Syntax

object.ColorSpectrum [= value]

The ColorSpectrum Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McPseudoColor.
valueA mcColorSpectrum enumeration, as described in settings.

Settings

The settings for value are:

ConstantValueDescription
 mccsRedBlue0

An mcstHSICCW spectrum is generated from Red to Blue

 mccsBlueRed1

An mcstHSICW spectrum is generated from Blue to Red

 mccsRed2

An mcstRGB spectrum is generated from black to Red

 mccsGreen3

An mcstRGB spectrum is generated from black to Green

 mccsBlue4

An mcstRGB spectrum is generated from black to Blue

 mccsCyan5

An mcstRGB spectrum is generated from black to Cyan

 mccsMagenta6

An mcstRGB spectrum is generated from black to Magenta

 mccsYellow7

An mcstRGB spectrum is generated from black to Yellow

 mccsCustom-1

the spectrum is unknown

Remarks

This property allows the user to specify the color spectrum that will be generated by the RealizeForImageType() method from an enumeration of standard spectrums. This property is essentially a shortcut that specifies the SpectrumType, StartColor and EndColor. The default value is mccsRedBlue (see mcColorSpectrum). When inquired, returns the gradient used to generate the pseudo-coloring, or Custom. See the RealizeForImageType() method for a discussion of property interactions.