Click or drag to resize

mxGraphViewGetPerimeterPoint Method (mxCellState, mxPoint, Boolean, Double)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.

Namespace:  imbSCI.Graph.MXGraph.view
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public mxPoint GetPerimeterPoint(
	mxCellState terminal,
	mxPoint next,
	bool orthogonal,
	double border
)
Request Example View Source

Parameters

terminal
Type: imbSCI.Graph.MXGraph.viewmxCellState
State for the source or target terminal.
next
Type: imbSCI.Graph.MXGraph.utilsmxPoint
Point that lies outside of the given terminal.
orthogonal
Type: SystemBoolean
Specifies if the orthogonal projection onto the perimeter should be returned. If this is false then the intersection of the perimeter and the line between the next and the center point is returned.
border
Type: SystemDouble
Optional border between the perimeter and the shape.

Return Value

Type: mxPoint
See Also