Index Topic Contents | |||
Previous Topic: ImageBvr Class Next Topic: LineStyleBvr Class |
JoinStyleBvr Class
public class JoinStyleBvr extends Behavior { // 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 join method of the LineStyleBvr object.
JoinStyleBvr Methods
JoinStyleBvr Class
newUninitBvrThis 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.
public static JoinStyleBvr newUninitBvr( );
Return Values
Returns the JoinStyleBvr object.
Relevant Fields from the Statics Class
The following fields are defined in the Statics class and are most relevant to objects of type JoinStyleBvr.
public final static JoinStyleBvr joinStyleBevel;
public final static JoinStyleBvr joinStyleMiter;
public final static JoinStyleBvr joinStyleRound;
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.