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

Represents a rainbow gradient which circles through all colors of the HUE-color-space.
See http://upload.wikimedia.org/wikipedia/commons/a/ad/HueScale.svg as reference
상속: IGradient
파일 보기 프로젝트 열기: DarthAffe/CUE.NET 1 사용 예제들

공개 메소드들

메소드 설명
GetColor ( float offset ) : CorsairColor

Gets the color on the rainbow at the given offset.

RainbowGradient ( float startHue = 0f, float endHue = 360f ) : CUE.NET.Devices.Generic

Initializes a new instance of the RainbowGradient class.

메소드 상세

GetColor() 공개 메소드

Gets the color on the rainbow at the given offset.
public GetColor ( float offset ) : CorsairColor
offset float The percentage offset to take the color from.
리턴 CUE.NET.Devices.Generic.CorsairColor

RainbowGradient() 공개 메소드

Initializes a new instance of the RainbowGradient class.
public RainbowGradient ( float startHue = 0f, float endHue = 360f ) : CUE.NET.Devices.Generic
startHue float The hue (in degrees) to start from (default: 0)
endHue float The hue (in degrees) to end with (default: 360)
리턴 CUE.NET.Devices.Generic