    Contents  Index  Topic Contents
    Previous Topic: Static Fields Relevant to LineStyleBvr Objects
    Next Topic: Static Fields Relevant to MatteBvr Objects

> ## Static Methods Relevant to MatteBvr Objects

> ###

> difference

> Statics Class

> Creates a matte behavior 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.

> public static MatteBvr difference(
> MatteBvr m1,
> MatteBvr m2
> );

> ##### Parameters

> m1 and m2
>   The MatteBvr objects.

> ##### Return Values

> Returns the MatteBvr object.

> ##### See Also

> intersect, union

> ###

> fillMatte

> Statics Class

> Creates a matte behavior consisting of the given path behavior. Clipping an image with this matte preserves that portion of the image that is inside the path.

> public static MatteBvr fillMatte(
> Path2Bvr path
> );

> ##### Parameters

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

> ##### Return Values

> Returns the MatteBvr object.

> ##### See Also

> textMatte

> ###

> intersect

> Statics Class

> Creates a matte behavior 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.

> public static MatteBvr intersect(
> MatteBvr m1,
> MatteBvr m2
> );

> ##### Parameters

> m1 and m2
>   The MatteBvr objects.

> ##### Return Values

> Returns the MatteBvr object.

> ##### See Also

> union, difference

> ###

> textMatte

> Statics Class

> Creates a matte behavior consisting of the given StringBvr object, and with an appearance specified by the FontStyleBvr object. Clipping an image with this matte preserves that portion of the image that is inside the text.

> public static MatteBvr textMatte(
> StringBvr text,
> FontStyleBvr fs
> );

> ##### Parameters

> text
>   The StringBvr object representing the text.
> fs
>   The FontStyleBvr object representing the font style.

> ##### Return Values

> Returns the MatteBvr object.

> ##### See Also

> fillMatte

> ###

> union

> Statics Class

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

> public static MatteBvr union(
> MatteBvr m1,
> MatteBvr m2
> );

> ##### Parameters

> m1 and m2
>   The MatteBvr objects.

> ##### Return Values

> Returns the MatteBvr object.

> ##### See Also

> intersect, difference

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

> Top of Page