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.
find
Nearest
Segment
(
state
,
x
,
y
)
:
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.