Skip to content

Interface: SvgCellRenderContext ​

Properties ​

clipPath ​

ts
clipPath: string;

Ready-made clipPath prop value: url(#…).


clipPathId ​

ts
clipPathId: string;

Id of a <clipPath> with the cell's shape, already in the SVG.


fill ​

ts
fill: string;

The fill/image the default renderer would have used.


image? ​

ts
optional image?: string;

path ​

ts
path: string;

d attribute of the cell outline.


slot ​

ts
slot: number;

Which item of images the cell shows (-1 if none or if images is a function).

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