Skip to content

Function: rectShapes() ​

ts
function rectShapes(d, style): DomainShape[];

Experimental

Tiles (rect data, world px) as rect shapes, inset by half their outline width (the outlines become gaps); a tile inside an earlier one stands on its top. d.items: the item of each rect.

Parameters ​

ParameterType
dData
styleShapeStyle

Returns ​

DomainShape[]

Released under the MIT License.