Skip to content

Function: regionCss() ​

ts
function regionCss(layout, precision?): string;

polygon(...) for the layout's region, with its holes, relative to the bounds.

Parameters ​

ParameterTypeDefault value
layoutLayoutundefined
precisionnumber4

Returns ​

string

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