public class SnapToGridModel extends Object implements SnapPositionsModel
Constructor and Description |
---|
SnapToGridModel() |
Modifier and Type | Method and Description |
---|---|
long |
getGridSize() |
long |
getNearestSnapPosition(long position,
org.pentaho.reporting.engine.classic.core.util.InstanceID owner)
Computes the nearest snap-point.
|
void |
setGridSize(long gridSize) |
public long getGridSize()
public void setGridSize(long gridSize)
public long getNearestSnapPosition(long position, org.pentaho.reporting.engine.classic.core.util.InstanceID owner)
getNearestSnapPosition
in interface SnapPositionsModel
position
- Copyright © 2002–2017 Pentaho Corporation. All rights reserved.