@mocanvas/editor · type
type PerfectDashTerminal = "none" | "outset" | "skip"How a dashed stroke behaves at one end of an open path.
- none — start the pattern exactly at the end.
- outset — start half a gap early, so the line begins with a full dash
sitting proud of the endpoint. What an arrow's tail wants.
- skip — leave the first gap empty, so the stroke starts a dash in. What
the end abutting an arrowhead wants, so the dash does not collide with it.
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.