CImage:new CImage:Copy

CImage:delete


The delete method deletes an instance of a class. Call delete when you are finished using the instance of this class. Note that Mira automatically deletes all class objects when the script finishes.

Syntax

CImage:delete()

 

Example

 

I = CImage:new()

-- create a new instance of of the CImage class.

  ...

-- do something with the image.

I:delete()

-- delete the object and its associated memory.

Related Topics

CImage, new