## DAMatte Class

Creates a DAMatte object representing a (potentially) animated matte. A matte consists of a path and/or text, and is typically used to clip an image to the shape defined by the path and/or text.

This class inherits from DABehavior.

- DAMatte Functions
- Relevant Functions from the DAStatics Class
- Relevant Properties from the DAStatics Class

### DAMatte Functions

Transform

####

Transform

DAMatte Class

Creates a DAMatte object that is the result of applying the given transformation xf to the original matte. The transformation affects each point in the path that defines the matte.

matteObj.Transform(
xf
)

##### Parameters

xf
  The DATransform2 object that is applied to matteObj.

##### Return Values

Returns the DAMatte object.

##### Remarks

This function composes values. The resulting transformation is the new value applied to the old value.

### Relevant Functions from the DAStatics Class

The following functions are defined in the DAStatics class and are most relevant to objects of type DAMatte.

lib.DifferenceMatte(m1, m2)

lib.FillMatte(path)

lib.IntersectMatte(m1, m2)

lib.TextMatte(text, fs)

lib.UnionMatte(m1, m2)

### Relevant Properties from the DAStatics Class

The following properties are defined in the DAStatics class and are most relevant to objects of type DAMatte.

lib.ClearMatte

lib.OpaqueMatte

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.