Gets the cell located at the specified point.
Namespace: MindFusion.Diagramming.Lanes
Package: Grid.js
JavaScript Copy Code |
---|
function getCellFromPoint (point, cellBounds) |
A Point instance specifying a point within the grid.
An object that receives the coordinates of the found cell in its cellBounds field.
A Cell object identifying the found cell, or null if there is no cell located at the specified point.
The following example illustrates how to find the cell at a specific position as well as its bounding rectangle:
JavaScript Copy Code |
---|
var boundsResult = {}; |