mxGraph
Public Member Functions | Protected Attributes | Properties | List of all members
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...

Public Member Functions

 mxConnectionConstraint ()
 Constructs an empty connection constraint. More...
 
 mxConnectionConstraint (mxPoint point)
 Constructs a connection constraint for the given point. More...
 
 mxConnectionConstraint (mxPoint point, bool perimeter)
 Constructs a new connection constraint for the given point and boolean arguments. More...
 

Protected Attributes

mxPoint point
 Point that specifies the fixed location of the connection point. More...
 
bool perimeter
 Boolean that specifies if the point should be projected onto the perimeter of the terminal. More...
 

Properties

mxPoint Point [get, set]
 Sets or returns the point. More...
 
bool Perimeter [get, set]
 Sets or returns perimeter. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ mxConnectionConstraint() [1/3]

com.mxgraph.mxConnectionConstraint.mxConnectionConstraint ( )
inline

Constructs an empty connection constraint.

◆ mxConnectionConstraint() [2/3]

com.mxgraph.mxConnectionConstraint.mxConnectionConstraint ( mxPoint  point)
inline

Constructs a connection constraint for the given point.

◆ mxConnectionConstraint() [3/3]

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

◆ perimeter

bool com.mxgraph.mxConnectionConstraint.perimeter
protected

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

◆ point

mxPoint com.mxgraph.mxConnectionConstraint.point
protected

Point that specifies the fixed location of the connection point.

Property Documentation

◆ Perimeter

bool com.mxgraph.mxConnectionConstraint.Perimeter
getset

Sets or returns perimeter.

Referenced by com.mxgraph.mxGraph.GetConnectionPoint().

◆ Point

mxPoint com.mxgraph.mxConnectionConstraint.Point
getset

Sets or returns the point.

Referenced by com.mxgraph.mxGraph.GetConnectionPoint().


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