RowGrid

A RowGrid object is a row or column of cells, and each cell contains a CardStack object. If the horizontal property is true, the cells are arranged in a row, otherwise the cells are arranged in a column.

 

Properties:

containerId: a unique integer identifying a container of Card objects.

defStack: the default CardStack object

count: the no. of cells (CardStack objects)

cells: a list of CardStack objects of length equal to the count property

dimensions: width, height (in pixels)

position: left, top (in pixels)

offset: distance in pixels between adjacent CardStack objects (width/height = offset multiplied by count)

horizontal: if true, the cells are arranged in a row, otherwise the cells are arranged in a column

visible: if false, RowGrid is not visible to user