Class NamedBpmnElementPoints

    • Field Detail

      • EAST

        public static final String EAST
        Generic key for an alignment item's points referring to the eastern center point of the element. E.g. for a rectangle, this is the center of the right edge.
        See Also:
        Constant Field Values
      • NORTH

        public static final String NORTH
        Generic key for an alignment item's points referring to the northern center point of the element. E.g. for a rectangle, this is the center of the top edge.
        See Also:
        Constant Field Values
      • NORTH_EAST

        public static final String NORTH_EAST
        Generic key for an alignment item's points referring to the northeastern center point of the element. E.g. for a rectangle, this is the top right corner.
        See Also:
        Constant Field Values
      • NORTH_WEST

        public static final String NORTH_WEST
        Generic key for an alignment item's points referring to the northwestern center point of the element. E.g. for a rectangle, this is the top left corner.
        See Also:
        Constant Field Values
      • SOUTH

        public static final String SOUTH
        Generic key for an alignment item's points referring to the southern center point of the element. E.g. for a rectangle, this is the center of the bottom edge.
        See Also:
        Constant Field Values
      • SOUTH_EAST

        public static final String SOUTH_EAST
        Generic key for an alignment item's points referring to the southeastern center point of the element. E.g. for a rectangle, this is the bottom right corner.
        See Also:
        Constant Field Values
      • SOUTH_WEST

        public static final String SOUTH_WEST
        Generic key for an alignment item's points referring to the southwestern center point of the element. E.g. for a rectangle, this is the bottom left corner.
        See Also:
        Constant Field Values
      • WEST

        public static final String WEST
        Generic key for an alignment item's points referring to the western center point of the element. E.g. for a rectangle, this is the center of the left edge.
        See Also:
        Constant Field Values
    • Method Detail

      • directedNamedPoint

        public static String directedNamedPoint​(ECardinalDirection2D direction)
        Gets the name of the point that lies at the shape's boundary in the given direction.
        Parameters:
        direction - The direction.
        Returns:
        The name of the point in the given direction.
      • directedNamedPoint

        public static String directedNamedPoint​(EPrimaryIntercardinalDirection2D direction)
        Gets the name of the point that lies at the shape's boundary in the given direction.
        Parameters:
        direction - The direction.
        Returns:
        The name of the point in the given direction.