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

com::mxgraph::mxConnectionConstraint::mxConnectionConstraint (  )  [inline]

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.

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.

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

bool com::mxgraph::mxConnectionConstraint::Perimeter [get, set]

Sets or returns perimeter.

mxPoint com::mxgraph::mxConnectionConstraint::Point [get, set]

Sets or returns the point.


The documentation for this class was generated from the following file:
Generated on Tue Dec 18 13:06:24 2012 for mxGraph by  doxygen 1.6.3