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

Represents a linear interpolated gradient with n stops.
Наследование: AbstractGradient
Показать файл Открыть проект

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

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

Gets the linear interpolated color at the given offset.

LinearGradient ( ) : System.Linq

Initializes a new instance of the LinearGradient class.

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

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

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

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

Initializes a new instance of the LinearGradient class.
public LinearGradient ( ) : System.Linq
Результат System.Linq