public class mxConnectionConstraint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
perimeter
Boolean that specifies if the point should be projected onto the perimeter
of the terminal.
|
protected mxPoint |
point
Point that specifies the fixed location of the connection point.
|
Constructor and Description |
---|
mxConnectionConstraint()
Constructs an empty connection constraint.
|
mxConnectionConstraint(mxPoint point)
Constructs a connection constraint for the given point.
|
mxConnectionConstraint(mxPoint point,
boolean perimeter)
Constructs a new connection constraint for the given point and boolean
arguments.
|
Modifier and Type | Method and Description |
---|---|
mxPoint |
getPoint()
Returns the point.
|
boolean |
isPerimeter()
Returns perimeter.
|
void |
setPerimeter(boolean value)
Sets perimeter.
|
void |
setPoint(mxPoint value)
Sets the point.
|
protected mxPoint point
protected boolean perimeter
public mxConnectionConstraint()
public mxConnectionConstraint(mxPoint point)
public mxConnectionConstraint(mxPoint point, boolean perimeter)
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.Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.