mxGraph
Public Member Functions | Protected Attributes | Properties
com.mxgraph.mxConnectionConstraint Class Reference

Defines an object that contains the constraints about how to connect one side of an edge to its terminal. More...

List of all members.

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.

Detailed Description

Defines an object that contains the constraints about how to connect one side of an edge to its terminal.


Constructor & Destructor Documentation

Constructs an empty connection constraint.

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.

Parameters:
pointOptional mxPoint that specifies the fixed location of the point in relative coordinates. Default is null.
perimeterOptional boolean that specifies if the fixed point should be projected onto the perimeter of the terminal. Default is true.

Member Data Documentation

Boolean that specifies if the point should be projected onto the perimeter of the terminal.

Point that specifies the fixed location of the connection point.


Property Documentation

Sets or returns perimeter.

Sets or returns the point.


The documentation for this class was generated from the following file: