C# Class CUE.NET.Gradients.LinearGradient

Represents a linear interpolated gradient with n stops.
Inheritance: AbstractGradient
Show file Open project: DarthAffe/CUE.NET

Public Methods

Method Description
GetColor ( float offset ) : CorsairColor

Gets the linear interpolated color at the given offset.

LinearGradient ( ) : System.Linq

Initializes a new instance of the LinearGradient class.

Method Details

GetColor() public method

Gets the linear interpolated color at the given offset.
public GetColor ( float offset ) : CorsairColor
offset float The percentage offset to take the color from.
return CUE.NET.Devices.Generic.CorsairColor

LinearGradient() public method

Initializes a new instance of the LinearGradient class.
public LinearGradient ( ) : System.Linq
return System.Linq