public interface ConnectionWidgetCollisionsCollector
CollisionCollectorinterface if you do not want to receive any context.
|Modifier and Type||Method and Description|
Gathers collision collections and fills up the lists of vertical and horizontal collisions.
void collectCollisions(ConnectionWidget connectionWidget, List<Rectangle> verticalCollisions, List<Rectangle> horizontalCollisions)
CollisionCollector.collectCollisionsbut 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 collisions
horizontalCollisions- the list of horizontal collisions
Built on August 13 2020. | Copyright © 2017-2020 Apache Software Foundation. All Rights Reserved.