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

Represents a basic gradient.
Наследование: IGradient
Показать файл Открыть проект

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

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

Gets the color of the gradient on the specified offset.

Защищенные методы

Метод Описание
AbstractGradient ( ) : System.Collections.Generic

Initializes a new instance of the AbstractGradient class.

ClipOffset ( float offset ) : float

Clips the offset and ensures, that it is inside the bounds of the stop list.

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

AbstractGradient() защищенный Метод

Initializes a new instance of the AbstractGradient class.
protected AbstractGradient ( ) : System.Collections.Generic
Результат System.Collections.Generic

ClipOffset() защищенный Метод

Clips the offset and ensures, that it is inside the bounds of the stop list.
protected ClipOffset ( float offset ) : float
offset float
Результат float

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

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