Interface that can be used to find ports at specific locations in the canvas.
Inheritance Hierarchy
Remarks
Members
No filters for this type
Methods
Returns the port at the given world coordinate position or null if there is no such port.
Returns the port at the given world coordinate position or
null if there is no such port.abstract
Parameters
- context: IInputModeContext
- The input mode context to use for querying the position.
- location: Point
- The coordinates of the position in the world coordinate system.
Return Value
- IPort
- The port at the position or
null.
Returns the ports for the given marquee rectangle.
Returns the ports for the given marquee rectangle.
abstract
Parameters
- context: IInputModeContext
- The input mode context to use for querying the position.
- rectangle: Rect
- The marquee selection box in the world coordinate system.
Return Value
- IEnumerable<IPort>
- An enumerable over the ports inside the marquee selection box.
Returns the ports within the given lasso path.
Returns the ports within the given lasso path.
abstract
Parameters
- context: IInputModeContext
- The input mode context to use for querying the position.
- lassoPath: GeneralPath
- A lasso path in world coordinates.
Return Value
- IEnumerable<IPort>
- An enumerable over the ports inside the
lassoPath.