-
Notifications
You must be signed in to change notification settings - Fork 367
T_Aurora_EffectsEngine_ColorSpectrum
Anton Pupkov edited this page Aug 8, 2016
·
1 revision
A class that represents a spectrum of colors. After creating an instance, you can then retrieve a blended color within a range of [0.0f, 1.0f].
System.Object
Aurora.EffectsEngine.ColorSpectrum
Namespace: Aurora.EffectsEngine
Assembly: Aurora (in Aurora.exe) Version: 1.0.0.0 (0.0.4.6)
C#
public class ColorSpectrum
The ColorSpectrum type exposes the following members.
Name | Description | |
---|---|---|
ColorSpectrum() | Creates a default ColorSpectrum instance with red color on either end. | |
ColorSpectrum(Color) | Creates a ColorSpectrum instance with a specified color on either end. | |
ColorSpectrum(Color[]) | Creates a ColorSpectrum instance with equidistant colors from the passed array of colors. | |
ColorSpectrum(ColorSpectrum) | Copy constructor, Creates a new ColorSpectrum instance with data from the passed ColorSpectrum. | |
ColorSpectrum(Color, Color) | Creates a ColorSpectrum instance with a start color on one end, and end color on the other end. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Flip | Reverses the colors and their positions of the ColorSpectrum. | |
GetColorAt | Retrieves the color from the ColorSpectrum at a specified position. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetColorAt | Adds a new color or sets an existing color at a specified position. | |
Shift | Shifts the internal position counter by a specified amount. | |
ToLinearGradient | Converts the instance of ColorSpectrum into a LinearGradientBrush | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Rainbow | A predefined rainbow ColorSpectrum | |
RainbowLoop | A predefined seamless rainbow ColorSpectrum |