Class TopLeftSnappingLocationProvider

java.lang.Object
org.eclipse.gef.mvc.fx.providers.BoundsSnappingLocationProvider
org.eclipse.gef.mvc.fx.providers.TopLeftSnappingLocationProvider
All Implemented Interfaces:
ISnappingLocationProvider

public class TopLeftSnappingLocationProvider extends BoundsSnappingLocationProvider
The TopLeftSnappingLocationProvider returns the top left corner of the bounds as the only snapping location. It can be used, for example, to provide locations for SnapToGrid.