Skip to content

Interface: CellShape ​

The shape a renderer draws for a cell, before the layout's view hides any of it.

Properties ​

area ​

ts
area: number;

bbox ​

ts
bbox: Rect;

Bounding box of outline: where a renderer places the cell's element.


centroid ​

ts
centroid: Vec;

holes ​

ts
holes: Polygon[];

outline ​

ts
outline: Polygon;

Sharp-cornered outline: cell.tile for a window cell, else cell.polygon.

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