com.aspose.diagram

Class WalkPreferenceValue

  • java.lang.Object
    • com.aspose.diagram.WalkPreferenceValue
public class WalkPreferenceValue 
extends java.lang.Object

Utility class containing constants. Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued to, using dynamic glue, when the shape is moved to an ambiguous position.

Field Summary
static final intSIDE_TO_SIDE_CONNECTIONS
The default. Both endpoints of the 1-D shape move to horizontal connection points (side-to-side connections).
static final intTOP_TO_SIDE_OR_BOTTOM_TO_SIDE_CONNECTIONS
The begin point of the 1-D shape moves to a vertical connection point, and the end point moves to a horizontal connection point (top-to-side or bottom-to-side connections).
static final intSIDE_TO_TOP_OR_SIDE_TO_BOTTOM_CONNECTIONS
The begin point of the 1-D shape moves to a horizontal connection point, and the end point moves to a vertical connection point (side-to-top or side-to-bottom connections).
static final intTOP_TO_BOTTOM_CONNECTIONS
Both endpoints of the 1-D shape move to vertical connection points (top-to-bottom connections).
static final intUNDEFINED
Undefined.
 

    • Field Detail

      • SIDE_TO_SIDE_CONNECTIONS

        public static final int SIDE_TO_SIDE_CONNECTIONS
        The default. Both endpoints of the 1-D shape move to horizontal connection points (side-to-side connections).
      • TOP_TO_SIDE_OR_BOTTOM_TO_SIDE_CONNECTIONS

        public static final int TOP_TO_SIDE_OR_BOTTOM_TO_SIDE_CONNECTIONS
        The begin point of the 1-D shape moves to a vertical connection point, and the end point moves to a horizontal connection point (top-to-side or bottom-to-side connections).
      • SIDE_TO_TOP_OR_SIDE_TO_BOTTOM_CONNECTIONS

        public static final int SIDE_TO_TOP_OR_SIDE_TO_BOTTOM_CONNECTIONS
        The begin point of the 1-D shape moves to a horizontal connection point, and the end point moves to a vertical connection point (side-to-top or side-to-bottom connections).
      • TOP_TO_BOTTOM_CONNECTIONS

        public static final int TOP_TO_BOTTOM_CONNECTIONS
        Both endpoints of the 1-D shape move to vertical connection points (top-to-bottom connections).
      • UNDEFINED

        public static final int UNDEFINED
        Undefined.