C# Class Fractrace.Animation.AnimationStepPreview

Control, which is used in the animation form to show a small picture of some animation steps.
Inheritance: System.Windows.Forms.UserControl
Exibir arquivo Open project: trafassel/Gestaltlupe Class Usage Examples

Protected Properties

Property Type Description
_graphicsUsedInSteps System.Drawing.Graphics

Public Methods

Method Description
AnimationStepPreview ( ) : System
Init ( int time, int steps ) : void

Initialize with Animation time and number of steps used in Animation.

UpdateComputedStep ( int currentStep ) : void

Indicate computed frame (with green rectangle).

Private Methods

Method Description
deleteToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Remove corresponding entry from animation scriptand mark deletion in preview with red.

Method Details

AnimationStepPreview() public method

public AnimationStepPreview ( ) : System
return System

Init() public method

Initialize with Animation time and number of steps used in Animation.
public Init ( int time, int steps ) : void
time int
steps int
return void

UpdateComputedStep() public method

Indicate computed frame (with green rectangle).
public UpdateComputedStep ( int currentStep ) : void
currentStep int
return void

Property Details

_graphicsUsedInSteps protected_oe property

Graphics, used to draw the rendered imag.
protected Graphics,System.Drawing _graphicsUsedInSteps
return System.Drawing.Graphics