@mocanvas/mocanvas · function
declare function hairline(cssPixels: number, zoom: number): numberA width given in CSS pixels, expressed in the page units the camera transform is about to scale. Use inside withCamera; outside it the CSS pixel value is already correct and this must not be applied.
Mentioned here
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.