public CellConstraints xywh(int col, int row, int colSpan, int rowSpan,
            Alignment colAlign, Alignment rowAlign) {
        this.gridX = col;
        this.gridY = row;
        this.gridWidth = colSpan;
        this.gridHeight = rowSpan;
        this.hAlign = colAlign;
        this.vAlign = rowAlign;
        ensureValidOrientations(hAlign, vAlign);
        return this;
    }
public CellConstraints xywh ( int col , int row , int colSpan , int rowSpan , Alignment colAlign , Alignment rowAlign ) { this . gridX = col ; this . gridY = row ; this . gridWidth = colSpan ; this . gridHeight = rowSpan ; this . hAlign = colAlign ; this . vAlign = rowAlign ; ensureValidOrientations ( hAlign , vAlign ) ; return this ; }
Sets the column, row, width, and height; sets the horizontal and vertical alignment using the
specified alignment objects.<p>

<strong>Examples:</strong><pre>
cc.xywh(1, 3, 2, 1, CellConstraints.LEFT,   CellConstraints.BOTTOM);
cc.xywh(1, 3, 7, 3, CellConstraints.CENTER, CellConstraints.FILL);
</pre>

@param col the new column index
@param row the new row index
@param colSpan the column span or grid width
@param rowSpan the row span or grid height
@param colAlign horizontal component alignment
@param rowAlign vertical component alignment
@return this
@throws IllegalArgumentException if an alignment orientation is invalid