C# Class TheMatrix.Scene

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

Méthodes publiques

Méthode Description
NextFrame ( ) : void
Render ( Graphics graphics ) : void
Scene ( Size logical_size, Size size, Font font, Color background_color, int generate_count, double generate_probability, int min_length, int max_lenghth, double min_speed, double max_speed, Color special_color, Color color_from, Color color_to, double mutation_probability, int mutation_frames ) : System

Private Methods

Méthode Description
DrawStrip ( Graphics graphics, Strip strip ) : void
UpdateSizeCache ( ) : void

Method Details

NextFrame() public méthode

public NextFrame ( ) : void
Résultat void

Render() public méthode

public Render ( Graphics graphics ) : void
graphics System.Drawing.Graphics
Résultat void

Scene() public méthode

public Scene ( Size logical_size, Size size, Font font, Color background_color, int generate_count, double generate_probability, int min_length, int max_lenghth, double min_speed, double max_speed, Color special_color, Color color_from, Color color_to, double mutation_probability, int mutation_frames ) : System
logical_size System.Drawing.Size
size System.Drawing.Size
font System.Drawing.Font
background_color Color
generate_count int
generate_probability double
min_length int
max_lenghth int
min_speed double
max_speed double
special_color Color
color_from Color
color_to Color
mutation_probability double
mutation_frames int
Résultat System