Interface that is used to test whether a rendered item is deemed to be inside a rectangular marquee selection.
Inheritance Hierarchy
See Also
Developer's Guide
Demos
- Customize which area of a node can be hovered and clicked
Members
No filters for this type
Methods
Returns true if the corresponding item is considered to intersect the given rectangular box.
Returns
true if the corresponding item is considered to intersect the given rectangular box.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.abstract
Parameters
- context: IInputModeContext
- the current input mode context
- rectangle: Rect
- the box describing the marquee's bounds
Return Value
- boolean
trueif the item is considered to be captured by the marquee
Constants
An implementation that always yields true.
An implementation that always yields
true.An implementation that always yields false.
An implementation that always yields
false.Static Methods
Creates an implementation of the interface IMarqueeTestable by using the given function as implementation for its isInBox method.
Creates an implementation of the interface IMarqueeTestable by using the given function as implementation for its isInBox method.
static
Parameters
- isInBox: function(IInputModeContext, Rect): boolean
- A function for IMarqueeTestable's single abstract method isInBox.
Return Value
- IMarqueeTestable
- An instance of the IMarqueeTestable interface based on the given function.