public class TopicmapViewmodel.GridPositioning extends Object
Modifier and Type | Field and Description |
---|---|
private int |
canvasWidth |
private int |
GRID_DIST_X |
private int |
GRID_DIST_Y |
private int |
gridX |
private int |
gridY |
private int |
MIN_Y |
private int |
START_X |
private int |
START_Y |
private int |
transX |
Constructor and Description |
---|
GridPositioning(int canvasWidth,
int transX) |
Modifier and Type | Method and Description |
---|---|
private void |
advancePosition() |
private Point |
findStartPostition() |
Point |
nextPosition() |
private final int GRID_DIST_X
private final int GRID_DIST_Y
private final int START_X
private final int START_Y
private final int MIN_Y
private final int canvasWidth
private final int transX
private int gridX
private int gridY
public GridPositioning(int canvasWidth, int transX)
public Point nextPosition()
private Point findStartPostition()
private void advancePosition()
Copyright © 2018. All Rights Reserved.