DirectAnimation Animated Header --DAStatic Functions Relevant to DAMatte Objects DirectAnimation Animated Header --DAStatic Functions Relevant to DAMatte Objects* Microsoft DirectAnimation SDK
*Index  *Topic Contents
*Previous Topic: DAStatic Properties Relevant to DALineStyle Objects
*Next Topic: DAStatic Properties Relevant to DAMatte Objects

DAStatic Functions Relevant to DAMatte Objects



DifferenceMatte

DAStatics Class

Creates a DAMatte object that is the difference between the given mattes. The difference consists of only those elements of the path and/or text in m1 that are not also in m2.

lib.DifferenceMatte(
  m1,
  m2
  )

Parameters
m1 and m2
The DAMatte objects.
Return Values

Returns the DAMatte object.

See Also

IntersectMatte, UnionMatte


FillMatte

DAStatics Class

Creates a DAMatte object consisting of the given path, path. Clipping an image with this matte preserves that portion of the image that is inside the path.

lib.FillMatte(
  path
  )

Parameters
path
The DAPath2 object. If the path is not closed, the start and end points are implicitly connected to close the path.
Return Values

Returns the DAMatte object.

See Also

TextMatte


IntersectMatte

DAStatics Class

Creates a DAMatte object that is the intersection of the given mattes. The intersection consists of only those elements of the paths and/or text of the original mattes that are the same.

lib.IntersectMatte(
  m1,
  m2
  )

Parameters
m1 and m2
The DAMatte objects.
Return Values

Returns the DAMatte object.

See Also

UnionMatte, DifferenceMatte


TextMatte

DAStatics Class

Creates a DAMatte object consisting of the given DAString object, text, and with an appearance specified by the DAFontStyle object, fs. Clipping an image with this matte preserves that portion of the image that is inside the text.

lib.TextMatte(
  text,
  fs
  )

Parameters
text
The DAString object representing the text.
fs
The DAFontStyle object representing the font style.
Return Values

Returns the DAMatte object.

See Also

FillMatte


UnionMatte

DAStatics Class

Creates a DAMatte object that is the union of the given mattes. The union consists of all elements of the paths and/or text in the original mattes.

lib.UnionMatte(
  m1,
  m2
  )

Parameters
m1 and m2
The DAMatte objects.
Return Values

Returns the DAMatte object.

See Also

IntersectMatte, DifferenceMatte

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

*Top of Page