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

EndstyleBvr Class

Methods , Fields

public class EndstyleBvr extends Behavior {
    // Fields
    public static EndstyleBvr endStyleFlat;
    public static EndstyleBvr endStyleRound;
    public static EndstyleBvr endStyleSquare;
    
   // Methods
   public static EndstyleBvr newUninitBvr();
}

Creates an object that represents an endstyle behavior. The behavior defines the style (shape) applied to the end of line segments when drawn.

You use the endstyle behavior with the lineEndStyle method of the LinestyleBvr object.


Methods


newUninitBvr

public static EndstyleBvr newUninitBvr();

This method allows you to refer to an EndstyleBvr 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 EndstyleBvr object.


Fields

endStyleFlat
An endstyle behavior (EndstyleBvr object) that draws the end of a line as a line segment, perpendicular to the final direction of the line and through the last point of the line.
endStyleRound
An endstyle behavior (EndstyleBvr object) that draws the end of a line as a circle, having a diameter equal to the width of the line and its center at the last point of the line.
endStyleSquare
An endstyle behavior (EndstyleBvr object) that draws the end of a line as a square, having a height and width equal to the width of the line and its center at the last point of the line.


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