Package libavg :: Module avg :: Class VideoBase

Class VideoBase




Base class for video and camera image nodes.

Instance Methods
 
getFPS()
Returns the nominal frames per second the object should display at.
 
pause()
Stops video playback but doesn't close the object.
 
play()
Starts video playback.
 
stop()
Stops video playback.

Inherited from RasterNode: getBitmap, getOrigVertexCoords, getWarpedVertexCoords, setWarpedVertexCoords

Inherited from Node: __init__, getParent, getRelPos, releaseEventCapture, setEventCapture, setEventHandler

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from RasterNode: angle, blendmode, maxtileheight, maxtilewidth, pivotx, pivoty

Inherited from Node: active, height, id, opacity, sensitive, width, x, y

Inherited from object: __class__

Method Details

pause()

 
Stops video playback but doesn't close the object. The playback cursor stays at the same position.

stop()

 
Stops video playback. Closes the object and 'rewinds' the playback cursor.