Visible |
public class VisibleLightSpectrum : ColorProviderBase
The VisibleLightSpectrum type exposes the following members.
| Name | Description | |
|---|---|---|
| VisibleLightSpectrum | Default constructor. The maximum intensity and the gamma value are set to their default values. |
| Name | Description | |
|---|---|---|
| Brightness | Gets the brightness value. | |
| ColorAbove |
Get/sets the color used when the relative value is greater than 1.
(Inherited from ColorProviderBase) | |
| ColorBelow |
Gets/sets the color used when the relative value is smaller than 0.
(Inherited from ColorProviderBase) | |
| ColorInvalid |
Gets/sets the color when the relative value is NaN.
(Inherited from ColorProviderBase) | |
| ColorSteps |
Number of discrete colors to be shown in a stepwise manner. If the value is zero, the colors are shown continuously.
(Inherited from ColorProviderBase) | |
| Gamma | Gets the gamma value used for colorization. | |
| Transparency |
Get/sets the transparency, which is a value between 0 (full opaque) and 1 (full transparent).
(Inherited from ColorProviderBase) |
| Name | Description | |
|---|---|---|
| Equals(IColorProvider) | Indicates whether the current object is equal to another object of the same type. (Overrides ColorProviderBaseEquals(IColorProvider)) | |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from ColorProviderBase) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetAxoColor |
Gets an AxoColor for the specified relative value.
(Inherited from ColorProviderBase) | |
| GetColor |
Calculates a color from the provided relative value.
(Inherited from ColorProviderBase) | |
| GetColorFrom0To1Continuously |
Gets the color in dependence of a relative value ranging from 0..1. The instance members
for gamma, intensity maximum and transparency are used to calculate the color.
(Overrides ColorProviderBaseGetColorFrom0To1Continuously(Double)) | |
| GetColorFromWaveLength(Double) | Gets the color in dependence of the wavelength with DefaultGamma value, DefaultBrightness and no transparency. | |
| GetColorFromWaveLength(Double, Double, Double, Int32) | Gets the color in dependence of the wavelength, gamma, intensity max and transparency. | |
| GetHashCode | Serves as the default hash function. (Overrides ColorProviderBaseGetHashCode) | |
| GetOutOfBoundsColor |
Gets the color used for values outside the valid range.
(Inherited from ColorProviderBase) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| WithBrightness | Creates a copy with a different brightness. | |
| WithColorAbove |
Creates a copy with a different color for values above the range.
(Inherited from ColorProviderBase) | |
| WithColorBelow |
Creates a copy with a different color for values below the range.
(Inherited from ColorProviderBase) | |
| WithColorInvalid |
Creates a copy with a different color for invalid values.
(Inherited from ColorProviderBase) | |
| WithColorSteps |
Creates a copy with a different number of color steps.
(Inherited from ColorProviderBase) | |
| WithGamma | Creates a copy with a different gamma value. | |
| WithTransparency |
Creates a copy with a different transparency.
(Inherited from ColorProviderBase) |
| Name | Description | |
|---|---|---|
| _alphaChannel | Alpha channel for the generated colors. Range from 0 to 255. (Inherited from ColorProviderBase) | |
| _cachedGdiColorAbove | Cached Gdi color for _colorAbove. (Inherited from ColorProviderBase) | |
| _cachedGdiColorBelow | Cached Gdi color for _colorBelow. (Inherited from ColorProviderBase) | |
| _cachedGdiColorInvalid | Cached Gdi color for _colorInvalid. (Inherited from ColorProviderBase) | |
| _colorAbove | The color used if the values are above the upper bound. (Inherited from ColorProviderBase) | |
| _colorBelow | The color used if the values are below the lower bound. (Inherited from ColorProviderBase) | |
| _colorInvalid | The color used for invalid values (missing values). (Inherited from ColorProviderBase) | |
| _colorSteps |
Number of colors if colors should be stepwise shown. If zero, the color is shown continuously.
(Inherited from ColorProviderBase) | |
| DefaultBrightness | Default brightness value. | |
| DefaultGamma | Default gamma value. | |
| MaxVisibleWavelength_nm | Maximum wavelength of the light in nm which can be shown as color. | |
| MinVisibleWavelength_nm | Minimum wavelength of the light in nm which can be shown as color. |