C# Class TheMatrix.Strip

Datei anzeigen Open project: EFanZh/EFanZh Class Usage Examples

Private Properties

Property Type Description
MixColor Color
PositionToInt int

Public Methods

Method Description
GetColorAt ( int i ) : Color
NextFrame ( ) : void
Strip ( int length, int column, double position, double speed, Color special_color, Color color_from, Color color_to, double mutation_probability, int mutation_frame ) : System.Collections.Generic

Private Methods

Method Description
MixColor ( Color from, Color to, double percent ) : Color
PositionToInt ( double position ) : int

Method Details

GetColorAt() public method

public GetColorAt ( int i ) : Color
i int
return System.Drawing.Color

NextFrame() public method

public NextFrame ( ) : void
return void

Strip() public method

public Strip ( int length, int column, double position, double speed, Color special_color, Color color_from, Color color_to, double mutation_probability, int mutation_frame ) : System.Collections.Generic
length int
column int
position double
speed double
special_color Color
color_from Color
color_to Color
mutation_probability double
mutation_frame int
return System.Collections.Generic