public class MatteBvr extends Behavior { // Methods public MatteBvr transform(Transform2Bvr xf); public static MatteBvr newUninitBvr(); }
Creates an object representing a matte behavior. 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.
For more information about behaviors, see the Behavior class.
Creates a new matte behavior that is the result of applying the given transformation behavior to the original matte. The transformation affects each point behavior in the path that defines the matte.
public MatteBvr transform(
Transform2Bvr xf
);
Returns the MatteBvr object.
This attribute composes values.
This method allows you to refer to an MatteBvr behavior before that behavior has been defined. With this method you can create the behavior and use it in the definition of other behaviors, but not actually define its contents until some later point. (This is accomplished with the init method, which is available on all behaviors.) The system generates a run-time error if you initialize a non-uninitialized behavior, initialize an uninitialized behavior that has already been initialized, or run an initialized behavior that has not yet been initialized.
public static MatteBvr newUninitBvr( );
Returns the MatteBvr object.
The following methods are defined in the Statics class and are most relevant to objects of type MatteBvr.
public static MatteBvr difference(MatteBvr m1, MatteBvr m2);
public static MatteBvr fillMatte(Path2Bvr path);
public static MatteBvr intersect(MatteBvr m1, MatteBvr m2);
public static MatteBvr textMatte(StringBvr text, FontStyleBvr fs);
public static MatteBvr union(MatteBvr m1, MatteBvr m2);
The following fields are defined in the Statics class and are most relevant to objects of type MatteBvr.
public final static MatteBvr clearMatte;
public final static MatteBvr opaqueMatte;
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.