class Standard . DrawingMovie {
array canvasSize;
array frameList;
int32 frameRate;
int32 frameTotal;
} inherits from Object;
A DrawingMovie maintains a collection of DrawingFrame objects.
DrawingMovie:create(optional int32 min_x, optional int32 min_y)
The default canvas is 0,0 - 1000,1000. The default frame rate is 12.
DrawingMovie:initialize(int32 min_x, int32 min_y, int32 max_x, int32 max_y, int32 rate)
DrawingMovie:addFrame(oid frameObj)
Adds a a new DrawingFrame object to the collection.
DrawingMovie:deleteFrame(int32 frameId)
Deletes an existing DrawingFrame.
DrawingMovie:setSize()
Alters the canvas size.
DrawingMovie:getSize()
Returns a two-element array representing the width and height of the drawing canvas.
DrawingMovie:setFrameRate(int32 fps)
Sets the desired rate for rendering of DrawingFrame objects. o
DrawingMovie:getFrameRate()
Returns the desired frame rate.
DrawingMovie:getFrameTotal()
Returns the total number of DrawingFrame objects associated with the DrawingMovie.
DrawingMovie:getFrameObject(int32 frameId)
Returns the object Id of the DrawingFame object corresponding to the frame specified by frameId.