mxEdgeSegmentHandler.js

Summary
mxEdgeSegmentHandler.js
Functions
getPreviewPointsUpdates the given preview state taking into account the state of the constraint handler.
createBendsAdds custom bends for the center of each segment.
redrawOverridden to invoke <refresh> before the redraw.
redrawInnerBendsUpdates the position of the custom bends.
changePointsChanges the points of the given edge to reflect the current state of the handler.

Functions

getPreviewPoints

mxEdgeSegmentHandler.prototype.getPreviewPoints = function(point)

Updates the given preview state taking into account the state of the constraint handler.

createBends

mxEdgeSegmentHandler.prototype.createBends = function()

Adds custom bends for the center of each segment.

redraw

mxEdgeSegmentHandler.prototype.redraw = function()

Overridden to invoke <refresh> before the redraw.

redrawInnerBends

mxEdgeSegmentHandler.prototype.redrawInnerBends = function(p0,
pe)

Updates the position of the custom bends.

changePoints

mxEdgeSegmentHandler.prototype.changePoints = function(edge,
points)

Changes the points of the given edge to reflect the current state of the handler.

mxEdgeSegmentHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeSegmentHandler.prototype.createBends = function()
Adds custom bends for the center of each segment.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxEdgeSegmentHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates the position of the custom bends.
mxEdgeSegmentHandler.prototype.changePoints = function(edge,
points)
Changes the points of the given edge to reflect the current state of the handler.
Close