C# 클래스 CUE.NET.Gradients.LinearGradient

Represents a linear interpolated gradient with n stops.
상속: AbstractGradient
파일 보기 프로젝트 열기: DarthAffe/CUE.NET

공개 메소드들

메소드 설명
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