mxGraph
|
Defines an object that contains the constraints about how to connect one side of an edge to its terminal. More...
Public Member Functions | |
mxConnectionConstraint () | |
Constructs an empty connection constraint. | |
mxConnectionConstraint (mxPoint point) | |
Constructs a connection constraint for the given point. | |
mxConnectionConstraint (mxPoint point, bool perimeter) | |
Constructs a new connection constraint for the given point and boolean arguments. | |
Protected Attributes | |
mxPoint | point |
Point that specifies the fixed location of the connection point. | |
bool | perimeter |
Boolean that specifies if the point should be projected onto the perimeter of the terminal. | |
Properties | |
mxPoint | Point [get, set] |
Sets or returns the point. | |
bool | Perimeter [get, set] |
Sets or returns perimeter. |
Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
Constructs an empty connection constraint.
com.mxgraph.mxConnectionConstraint.mxConnectionConstraint | ( | mxPoint | point | ) | [inline] |
Constructs a connection constraint for the given point.
com.mxgraph.mxConnectionConstraint.mxConnectionConstraint | ( | mxPoint | point, |
bool | perimeter | ||
) | [inline] |
Constructs a new connection constraint for the given point and boolean arguments.
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. |
bool com.mxgraph.mxConnectionConstraint.perimeter [protected] |
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
mxPoint com.mxgraph.mxConnectionConstraint.point [protected] |
Point that specifies the fixed location of the connection point.
bool com.mxgraph.mxConnectionConstraint.Perimeter [get, set] |
Sets or returns perimeter.
mxPoint com.mxgraph.mxConnectionConstraint.Point [get, set] |
Sets or returns the point.