Skip to content

Interface: CanvasLike ​

A canvas that can be drawn on and exported (browser or offscreen canvas, or your own).

Properties ​

height ​

ts
height: number;

width ​

ts
width: number;

Methods ​

getContext() ​

ts
getContext(type): unknown;

Parameters ​

ParameterType
type"2d"

Returns ​

unknown

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