public interface ConnectionWidgetCollisionsCollector
CollisionCollector
interface if you do not want to receive any context.Modifier and Type | Method and Description |
---|---|
void |
collectCollisions(ConnectionWidget connectionWidget,
List<Rectangle> verticalCollisions,
List<Rectangle> horizontalCollisions)
Gathers collision collections and fills up the lists of vertical and horizontal collisions.
|
void collectCollisions(ConnectionWidget connectionWidget, List<Rectangle> verticalCollisions, List<Rectangle> horizontalCollisions)
CollisionCollector.collectCollisions
but takes additional parameter of a connection widget for which the collisions are going to searched.connectionWidget
- the connection widget for which the collisions are going to be searched.verticalCollisions
- the list of vertical collisionshorizontalCollisions
- the list of horizontal collisions