An interface that checks for containment of an IBend in 2D coordinate space.
Inheritance Hierarchy
Remarks
This interface is used to determine which bends of edges that connect child nodes are moved when the parent node is moved. Therefore, special care has to be taken if you want to provide this interface in the node lookup for other purposes, as this can also affect implicit bend movement.
Members
No filters for this type
Methods
Determines whether the provided bend is deemed to lie within the shape this test is implemented for.
Determines whether the provided
bend is deemed to lie within the shape this test is implemented for.This method is used to determine which bends of edges that connect child nodes are moved when the parent node is moved. If an implementation of IContainsBendTester is present in the node's lookup, this method is called with the bend and the bend will be moved together with the parent node iff
true is returned. If no implementation is provided, only bends that lie inside the bounds of the parent node are moved.abstract
Parameters
- context: IInputModeContext
- The input mode context to use.
- bend: IBend
- The bend to test
Return Value
- boolean
trueiff the bend is contained within the shape.