Statics Methods Relevant to MatteBvr Objects

difference Creates a matte behavior that is the difference between the given mattes.
fillMatte Creates a matte behavior consisting of the given path behavior.
intersect Creates a matte behavior that is the intersection of the given mattes.
textMatte Creates a matte behavior consisting of the given StringBvr object, and with an appearance specified by the FontStyleBvr object.
union Creates a matte behavior that is the union of the given mattes.

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.

Syntax

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

Parameters

m1 and m2
MatteBvr objects.

Return Value

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.

Syntax

public static MatteBvr fillMatte( Path2Bvr path );

Parameters

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

Return Value

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.

Syntax

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

Parameters

m1 and m2
MatteBvr objects.

Return Value

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.

Syntax

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

Parameters

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

Return Value

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.

Syntax

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

Parameters

m1 and m2
MatteBvr objects.

Return Value

Returns the MatteBvr object.

See Also

intersect, difference


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