Skip to content

Interface: MatchOptions ​

Extends ​

Properties ​

cells? ​

ts
optional cells?: ContentCells;

Inherited from ​

ContentOptions.cells


choose? ​

ts
optional choose?: "placement" | "shape";

Which cells get items:

  • "placement" (default): the same cells as without matching (placement); matching only decides which item goes where among them.
  • "shape": the cells whose shapes suit the items best, wherever they are (portrait photos into the vertical bricks of a herringbone, say). Ignores placement.

placement? ​

ts
optional placement?: ContentPlacement;

Inherited from ​

ContentOptions.placement

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).