C# Class ObservableLinq.Demo.Wpf.GifRecorderManager.GifRecorder

Inheritance: IDisposable
Show file Open project: TheFabFab/ObservableLinq

Public Methods

Method Description
Dispose ( ) : void
GifRecorder ( FrameworkElement container, FrameworkElement root, string fileName, int fps ) : NGif
RegisterStoryboard ( System.Windows.Media.Animation.Storyboard storyboard ) : System.Threading.Tasks.Task

Private Methods

Method Description
AddOneFrame ( ) : void
CompositionTarget_Rendering ( object sender, EventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GifRecorder() public method

public GifRecorder ( FrameworkElement container, FrameworkElement root, string fileName, int fps ) : NGif
container System.Windows.FrameworkElement
root System.Windows.FrameworkElement
fileName string
fps int
return NGif

RegisterStoryboard() public method

public RegisterStoryboard ( System.Windows.Media.Animation.Storyboard storyboard ) : System.Threading.Tasks.Task
storyboard System.Windows.Media.Animation.Storyboard
return System.Threading.Tasks.Task