DAStatics Functions Relevant to DAMatte Objects

DifferenceMatte Creates a DAMatte object that is the difference between the given mattes.
FillMatte Creates a DAMatte object consisting of the given path, path.
IntersectMatte Creates a DAMatte object that is the intersection of the given mattes.
TextMatte Creates a DAMatte object consisting of the given DAString object, text, and with an appearance specified by the DAFontStyle object, fs.
UnionMatte Creates a DAMatte object that is the union of the given mattes.

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.

Syntax

lib.DifferenceMatte( m1, m2 )

Parameters

m1 and m2
DAMatte objects.

Return Value

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.

Syntax

lib.FillMatte( path )

Parameters

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

Return Value

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.

Syntax

lib.IntersectMatte( m1, m2 )

Parameters

m1 and m2
DAMatte objects.

Return Value

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.

Syntax

lib.TextMatte( text, fs )

Parameters

text
DAString object representing the text.
fs
DAFontStyle object representing the font style.

Return Value

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.

Syntax

lib.UnionMatte( m1, m2 )

Parameters

m1 and m2
DAMatte objects.

Return Value

Returns the DAMatte object.

See Also

IntersectMatte, DifferenceMatte


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