C# Класс CUE.NET.Gradients.RainbowGradient

Represents a rainbow gradient which circles through all colors of the HUE-color-space.
See http://upload.wikimedia.org/wikipedia/commons/a/ad/HueScale.svg as reference
Наследование: IGradient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetColor ( float offset ) : CorsairColor

Gets the color on the rainbow at the given offset.

RainbowGradient ( float startHue = 0f, float endHue = 360f ) : CUE.NET.Devices.Generic

Initializes a new instance of the RainbowGradient class.

Описание методов

GetColor() публичный Метод

Gets the color on the rainbow at the given offset.
public GetColor ( float offset ) : CorsairColor
offset float The percentage offset to take the color from.
Результат CUE.NET.Devices.Generic.CorsairColor

RainbowGradient() публичный Метод

Initializes a new instance of the RainbowGradient class.
public RainbowGradient ( float startHue = 0f, float endHue = 360f ) : CUE.NET.Devices.Generic
startHue float The hue (in degrees) to start from (default: 0)
endHue float The hue (in degrees) to end with (default: 360)
Результат CUE.NET.Devices.Generic