MindFusion.Diagramming for JavaScript Programmer's Guide

Diagram.alignPointToGrid Method

See Also
 





Returns a point of the alignment grid nearest to the onepassed as an argument.

Namespace: MindFusion.Diagramming
File: Diagram.js

 Syntax

JavaScript  Copy Code

function alignPointToGrid (point)

 Parameters

point

A point specified in diagram coordinates.

 See Also