C# Class CUE.NET.Gradients.LinearGradient

Represents a linear interpolated gradient with n stops.
Inheritance: AbstractGradient
Afficher le fichier Open project: DarthAffe/CUE.NET

Méthodes publiques

Méthode 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 méthode

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

LinearGradient() public méthode

Initializes a new instance of the LinearGradient class.
public LinearGradient ( ) : System.Linq
Résultat System.Linq