@mocanvas/mocanvas · interface
interface StrokeTerminalOptionsHow a stroke's start or end is shaped.
Properties · 3
cap?: booleanRound the terminal off, instead of cutting it square.
easing?(distance: number): numberReshapes the taper over its length; distance runs 0→1.
taper?: boolean | numbertrue for a taper as long as the stroke's own width, or an explicit length.
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.