Inheritance diagram for DzVideoClip:

Methods | |
| void | appendFrame (Image img) |
| void | appendFrameFile (String imgFilename) |
| DzAudioClip | getAudio () |
| DzTime | getAudioStartTime () |
| Image | getFrame (Number i) |
| Number | getFrameRate () |
| Number | getHeight () |
| Number | getNumFrames () |
| Number | getWidth () |
| void | setAudio (DzAudioClip audio, DzTime audioStartTime) |
| void | setFrameRate (Number rate) |
Constructors | |
| DzVideoClip (Number width, Number height, Number rate) | |
| DzVideoClip () | |
| DzVideoClip::DzVideoClip | ( | ) |
Default Constructor.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| void DzVideoClip::appendFrame | ( | Image | img | ) |
Adds a frame to the end of the clip
| img | Image to add as a frame. |
| void DzVideoClip::appendFrameFile | ( | String | imgFilename | ) |
Adds a frame to the end of the clip
| filename | Image file to add as a frame. |
| DzAudioClip DzVideoClip::getAudio | ( | ) |
| DzTime DzVideoClip::getAudioStartTime | ( | ) |
| Number DzVideoClip::getFrameRate | ( | ) |
| Number DzVideoClip::getHeight | ( | ) |
| Number DzVideoClip::getNumFrames | ( | ) |
| Number DzVideoClip::getWidth | ( | ) |
| void DzVideoClip::setAudio | ( | DzAudioClip | audio, | |
| DzTime | audioStartTime | |||
| ) |
Set the audio that accompanies the video clip
| audio | The audio clip for the video. | |
| audioStartTime | The time offset from the beginning of the video that the audio clip begins. This can be negative (the beginning of the video starts part way into the audio clip). |
| void DzVideoClip::setFrameRate | ( | Number | rate | ) |
Set the frame rate of the clip
| rate | The number of frames per second for the clip |