API Index
- cm.svg — SVG via tagged template literal.
- cm.html — HTML via tagged template literal.
- cm.attr — get, set, or remove attributes (including styles and events) on a node.
- cm.context2d — create a 2D canvas rendering context (size, DPR, optional container).
- cm.strokeLine — stroke a line between two points.
- cm.fillCircle — fill a circle.
- cm.strokeCircle — stroke a circle.
- cm.strokeEllipse — stroke an axis-aligned ellipse.
- cm.fillEllipse — fill an axis-aligned ellipse.