Interface that can be used to find bends at specific locations in the canvas.
Inheritance Hierarchy
IBendSelectionTester
Remarks
Type Details
- yFiles module
- view
Methods
Returns the bends within the given rectangle.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IInputModeContext
- The input mode context to use for querying the position.
- rectangle - Rect
- A rectangle in world coordinates.
Returns
- ↪IEnumerable<IBend>
- The bends inside of
rectangle
.
Returns the bends within the given lasso path.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IInputModeContext
- The input mode context to use for querying the position.
- lassoPath - GeneralPath
- A lasso path in world coordinates.
Returns
- ↪IEnumerable<IBend>
- The bends inside of
lassoPath
.
Returns the bend at the given world coordinate position.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IInputModeContext
- The input mode context to use for querying the position.
- location - Point
- A location in world coordinates.
Returns
- ↪IBend?
- The bend at the position or
null
if there is no bend.
Static Methods
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- getHitBend - function(IInputModeContext, Point):IBend
Returns the bend at the given world coordinate position.
This property holds the implementation for getHitBend.
- getBendsInBox - function(IInputModeContext, Rect):IEnumerable<IBend>
Returns the bends within the given rectangle.
This property holds the implementation for getBendsInBox.
- getBendsInPath - function(IInputModeContext, GeneralPath):IEnumerable<IBend>
Returns the bends within the given lasso path.
This property holds the implementation for getBendsInPath.