DAMontage Class

A DAMontage object represents a montage that can be animated. A montage is a stack of images in which each image has an explicit depth. Images with larger z-values are always in front of images with smaller z-values. Rendering a montage creates a new DAImage that is a composite of the images in the montage. The composite is created by overlaying the montage's images by order of depth and applying the same overlay rules as defined by the Overlay function in the DAStatics class.

Because the depth of an image in a montage can vary over time, rendering the montage at different points in time can produce different images in different orders.

This class inherits from the DABehavior class.

For relevant functions and properties from the DAStatics class, see the following topics.

DAMontage Functions

RenderCreates a DAImage object that consists of a composite of all images in the DAMontage object.

Render

DAMontage Class

Creates a DAImage object that consists of a composite of all images in the DAMontage object. The composite is created by overlaying the montage's images in order of z-values, with the largest z-value on top, and applying the same overlay rules as defined by the Overlay function in the DAImage class. If two images have the same depth, they are overlayed in the order in which they were added to the montage. The bounding box of a rendered montage is simply the union of the bounding boxes of all the images comprising that montage.

Syntax

montageObj.Render

Return Value

Returns the DAImage object.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.