Provides implementations of ILassoTestable.
Inheritance Hierarchy
LassoTestables
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.input.LassoTestables
See Also
Constants
An implementation that always yields true
.
An implementation that always yields false
.
Static Methods
Creates an implementation of the ILassoTestable interface that tests if the orientedRectangle
intersects the area of the lasso path.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- orientedRectangle - IOrientedRectangle
- The oriented rectangle to check.
Returns
- ↪ILassoTestable
- An implementation of ILassoTestable for the oriented rectangle.
Creates an implementation of the ILassoTestable interface that tests if the point
is contained in the lasso path.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- point - IPoint
- The point to check.
Returns
- ↪ILassoTestable
- An implementation of ILassoTestable for the point.
Creates an implementation of the ILassoTestable interface that tests if the rectangle
intersects the area of the lasso path.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- rectangle - IRectangle
- The rectangle to check.
Returns
- ↪ILassoTestable
- An implementation of ILassoTestable for the rectangle.