Skip to content

Interface: SvgCellImageProps ​

Extends ​

  • Omit<SVGProps<SVGImageElement>, "href" | "x" | "y" | "width" | "height">

Properties ​

box? ​

ts
optional box?: Rect;

Draw the image whole inside this box (e.g. safeArea(cell, layout)) instead of covering the cell.


cell ​

ts
cell: Cell;

clipPath ​

ts
clipPath: string;

Pass ctx.clipPath from renderCell.

Overrides ​

ts
Omit.clipPath

cover? ​

ts
optional cover?: Rect;

Cover this rectangle instead of the cell's box (e.g. coverRect(cell, layout, { aspect, focus })).


href ​

ts
href: string;

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