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

Represents a basic gradient.
상속: IGradient
파일 보기 프로젝트 열기: DarthAffe/CUE.NET

공개 메소드들

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