yasuki_gui.layout.home_stack_positions#
- home_stack_positions(unplaced, canvas_w, canvas_h, *, seat_at_bottom, offset, personality_row=False)[source]#
Home-row positions for a seat’s unplaced cards.
unplacedis a list of(card_id, group_key)in placement order: distinct group keys take consecutive columns, and copies sharing a key stack down a single column byoffseteach. Returns a map of card id to(x, y).With
personality_rowset, the cards land in the personalities row, centre-justified across the canvas (like the provinces); otherwise they land in the holdings row, laid out left to right from the seat’s edge behind the stronghold.