C# Class TheMatrix.Strip

Afficher le fichier Open project: EFanZh/EFanZh Class Usage Examples

Private Properties

Свойство Type Description
MixColor Color
PositionToInt int

Méthodes publiques

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

Méthode Description
MixColor ( Color from, Color to, double percent ) : Color
PositionToInt ( double position ) : int

Method Details

GetColorAt() public méthode

public GetColorAt ( int i ) : Color
i int
Résultat System.Drawing.Color

NextFrame() public méthode

public NextFrame ( ) : void
Résultat void

Strip() public méthode

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
Résultat System.Collections.Generic