private static boolean snapHorizontalGrid(Point candidatePoint){
  int x=candidatePoint.x;
  x=(x / SceneDraw.GRID_SPACING) * SceneDraw.GRID_SPACING;
  candidatePoint.x=x;
  return true;
}

private static boolean snapHorizontalGrid ( Point candidatePoint ) { int x = candidatePoint . x ; x = ( x / SceneDraw . GRID_SPACING ) * SceneDraw . GRID_SPACING ; candidatePoint . x = x ; return true ; }
snap the widget on the horizontal axis to widgetsview . grid_spacing
