Returns a point of the alignment grid nearest to the one passed as an argument.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function alignPointToGrid (point) |
Point. A point specified in diagram coordinates.
Point. A point from the alignment grid.
The control aligns items to the alignment grid only during user interaction. This method lets you align coordinates of programmatically created or modified items.
NetDiagram Programmer's Guide | © 2023 MindFusion |