Package | Description |
---|---|
org.eclipse.gef4.mvc.fx.policies |
This package contains all
IPolicy
implementations contributed by MVC.FX. |
Modifier and Type | Method and Description |
---|---|
protected static Dimension |
FXTransformPolicy.getSnapToGridOffset(GridModel gridModel,
double localX,
double localY,
double gridCellWidthFraction,
double gridCellHeightFraction)
Computes the offset which needs to be added to the given local
coordinates in order to stay on the grid/snap to the grid.
|
Copyright (c) 2014 itemis AG and others. All rights reserved.