This article applies to:
This sample illustrates the use of the Canvas object, off-screen canvases, the Rect structure, and transparency to perform smooth animation.
The Canvas and CreateCanvas methods of the Display object are used to manipulate the current and off-screen canvases. The SourceColorKey method of the Canvas object and the ebEffectSourceColorKey parameter used with the Copy method of the Canvas method are used to present transparency. The Rect structure is used to track the location of small images written over the master image.