java.lang.Runnable
public class StartMovieCapture
extends java.lang.Object
implements java.lang.Runnable
Constructor | Description |
---|---|
StartMovieCapture(FrameSequencer sequencer,
int framesPerSec,
java.awt.Rectangle area) |
Constructor that takes the frame sequencer, number of
frames per second, and the region to capture
|
Modifier and Type | Method | Description |
---|---|---|
void |
captureMovie() |
Method to capture a movie until the stop
method is called and sets the active thread
to null
|
void |
run() |
Method to start the thread
|
void |
stop() |
Method to stop the thread
|
public StartMovieCapture(FrameSequencer sequencer, int framesPerSec, java.awt.Rectangle area)
sequencer
- the frame sequencerframesPerSec
- the number of frames per secondarea
- the region to capture