getSegmentBounds method

List<Rect>? getSegmentBounds(
  1. String connectionId
)

Get the cached segment bounds for spatial indexing. Returns null if there's no cached path for this connection.

Implementation

List<Rect>? getSegmentBounds(String connectionId) {
  return _getCachedPath(connectionId)?.segmentBounds;
}