public void ensureFitToScreen(int horizontalMargin, int verticalMargin){
    myHorizontalMargin = horizontalMargin;
    myVerticalMargin = verticalMargin;
  }
public void ensureFitToScreen(int horizontalMargin, int verticalMargin)