Interface that is used to test whether a rendered item is deemed to be inside a rectangular marquee selection.
Inheritance Hierarchy
IMarqueeTestable
Related Programming Samples
- 07 Hit-Testing
- Customize which area of a node can be hovered and clicked
Type Details
- yFiles module
- view
Methods
Returns true
if the corresponding item is considered to intersect the given rectangular box.
Remarks
This method may return
false
if the item cannot be selected using a selection marquee or optionally if the item is only partially contained within the box.Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IInputModeContext
- the current input mode context
- rectangle - Rect
- the box describing the marquee's bounds
Returns
- ↪boolean
true
if the item is considered to be captured by the marquee
Constants
An implementation that always yields true
.
An implementation that always yields false
.