C# Class TheMatrix.Scene

Exibir arquivo Open project: EFanZh/EFanZh Class Usage Examples

Public Methods

Method 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

Method Description
DrawStrip ( Graphics graphics, Strip strip ) : void
UpdateSizeCache ( ) : void

Method Details

NextFrame() public method

public NextFrame ( ) : void
return void

Render() public method

public Render ( Graphics graphics ) : void
graphics System.Drawing.Graphics
return void

Scene() public method

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
return System