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

JoinstyleBvr Class

Methods , Fields

public class JoinstyleBvr extends Behavior {
    // Fields
    public static JoinstyleBvr joinStyleBevel;
    public static JoinstyleBvr joinStyleMiter;
    public static JoinstyleBvr joinStyleRound;
    
    // Methods
    public static JoinstyleBvr newUninitBvr();
    
}

Creates an object that represents a joinstyle behavior. The behavior defines the style (shape) of joint between intersecting line segments in a path. A joint is drawn only if the some portions of the segments do not touch or overlap at the common endpoint. In this case, the outside corners of the line segments are connected and the resulting enclosed area is filled with the same color as the line.

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


Methods


newUninitBvr

public static JoinstyleBvr newUninitBvr();

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


Fields

joinStyleBevel
An joinstyle behavior (JoinstyleBvr object) that joins two line segments by drawing a straight line between the outside corners of the segments and filling the resulting enclosed area.
joinStyleMiter
An joinstyle behavior (JoinstyleBvr object) that joins two line segments by extending the outside edges of the segments until they intersect and filling the resulting enclosed area. The miter length is defined as the distance from the intersection of the line walls on the inside of the join to the intersection of the line walls on the outside of the join.
joinStyleRound
An joinstyle behavior (JoinstyleBvr object) that joins two line segments by drawing an arc between the outside corners of the segments and filling the resulting enclosed area. The center of the arc is at the common endpoint, the diameter is the width of the line.


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