UtilitiesFunctionsdoSelectionRectAndRulerPathsIntersectVersion: NextdoSelectionRectAndRulerPathsIntersect CallabledoSelectionRectAndRulerPathsIntersect(selectionRect: Rect2D, paths: Point2D[][], isAuxiliaryLineVisible: boolean): booleanTests whether a selection rectangle intersects ruler annotation paths. Ruler paths are checked by point containment and segment intersection. When the auxiliary line is visible, the implied triangle between ruler arms is also considered selectable.ParametersselectionRect: Rect2DAxis-aligned selection rectangle.paths: Point2D[][]Ruler paths represented as ordered point arrays.isAuxiliaryLineVisible: booleanWhether the auxiliary triangle should be tested.Returns booleanTrue when the selection rectangle intersects the ruler geometry.
Tests whether a selection rectangle intersects ruler annotation paths.
Ruler paths are checked by point containment and segment intersection. When the auxiliary line is visible, the implied triangle between ruler arms is also considered selectable.