DirectX Media for Animation Java Reference Previous
Previous
Classes
Classes
Index
Index
Next
Next

DashstyleBvr Class

Methods , Fields

public class DashstyleBvr extends Behavior {
    // Fields
    public static DashstyleBvr dashStyleDashed;
    public static DashstyleBvr dashStyleSolid;

   // Methods
   public static DashstyleBvr newUninitBvr();
}

Creates an object that represents a dashstyle behavior. The behavior defines whether lines are drawn using a continuous stroke or a sequence of dashes.

You use the dashstyle behavior with the lineDashStyle method of the LinestyleBvr object.

For more information about Behaviors see the Behavior class.


Methods


newUninitBvr();

public static DashstyleBvr newUninitBvr();

This method allows you to refer to a dash-style 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.

Return Value:

Returns the DashstyleBvr object.


Fields

dashStyleDashed
Creates a dashstyle behavior (DashstyleBvr object) that draws a dashed line (sequence of line segments and spaces).
dashStyleSolid
Creates a dashstyle behavior (DashstyleBvr object) that draws a solid line (continuous stroke).


Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.