Documentation of 'com.mxgraph.view.mxConnectionConstraint' Java class
mxConnectionConstraint
com.mxgraph.view

Class mxConnectionConstraint



  • public class mxConnectionConstraint
    extends java.lang.Object
    Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
    • Constructor Detail

      • mxConnectionConstraint

        public mxConnectionConstraint()
        Constructs an empty connection constraint.
      • mxConnectionConstraint

        public mxConnectionConstraint(mxPoint point)
        Constructs a connection constraint for the given point.
      • mxConnectionConstraint

        public mxConnectionConstraint(mxPoint point,
                                      boolean perimeter)
        Constructs a new connection constraint for the given point and boolean arguments.
        Parameters:
        point - Optional mxPoint that specifies the fixed location of the point in relative coordinates. Default is null.
        perimeter - Optional boolean that specifies if the fixed point should be projected onto the perimeter of the terminal. Default is true.
    • Method Detail

      • getPoint

        public mxPoint getPoint()
        Returns the point.
      • setPoint

        public void setPoint(mxPoint value)
        Sets the point.
      • isPerimeter

        public boolean isPerimeter()
        Returns perimeter.
      • setPerimeter

        public void setPerimeter(boolean value)
        Sets perimeter.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.