Preparing search index...
The search index is not available
@maxgraph/core
@maxgraph/core
mathUtils
findNearestSegment
Function findNearestSegment
Finds the index of the nearest segment on the given cell state for the specified coordinate pair.
findNearestSegment
(
state
:
CellState
,
x
:
number
,
y
:
number
)
:
number
Parameters
state
:
CellState
x
:
number
y
:
number
Returns
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@maxgraph/core
Loading...
Finds the index of the nearest segment on the given cell state for the specified coordinate pair.