public ThumborUrlBuilder align(VerticalAlign valign, HorizontalAlign halign) {
    return align(valign).align(halign);
  }
public ThumborUrlBuilder align ( VerticalAlign valign , HorizontalAlign halign ) { return align ( valign ) . align ( halign ) ; }
Set the horizontal and vertical alignment for the image when image gets cropped by resizing.

@param valign Vertical alignment.
@param halign Horizontal alignment.
@throws IllegalStateException if image has not been marked for resize.