|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.diylc.presenter.CalcUtils
public class CalcUtils
| Constructor Summary | |
|---|---|
CalcUtils()
|
|
| Method Summary | |
|---|---|
static int |
roundToGrid(int x,
Size gridSpacing)
Rounds the number to the closest grid line. |
static void |
snapPointToGrid(java.awt.Point point,
Size gridSpacing)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalcUtils()
| Method Detail |
|---|
public static int roundToGrid(int x,
Size gridSpacing)
x -
public static void snapPointToGrid(java.awt.Point point,
Size gridSpacing)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||