Skip to content

Function: backdropCss() ​

ts
function backdropCss(
   cell, 
   layout, 
   precision?
): Omit<CellCss, "clipPath">;

Placement, inside a cell's element (as positioned by cellCss), of a box covering the whole layout bounds. Put the same content (an image with object-fit: cover, say) in every cell at this placement and the cells together show it as one picture, each through its own window.

Parameters ​

ParameterTypeDefault value
cellCellundefined
layoutLayoutundefined
precisionnumber4

Returns ​

Omit<CellCss, "clipPath">

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