paperjs-round-corners
A library that provides methods to round the corners of paths in Paper.js.
Installation
npm install paperjs-round-cornersGetting Started
import paper from 'paper';
import { PaperRoundCorners } from 'paperjs-round-corners';paper.setup(canvas);
const path = new paper.Path();
// Add segments to the pathAPI Reference
.round(segment, roundness, options)
.round(segment, roundness, options).roundMany(segments, roundness, options)
.roundMany(segments, roundness, options).roundMap(segments, options)
.roundMap(segments, options)Rounding Methods
simple-cubic
simple-cubiccubic
cubicarc
arcLast updated
Was this helpful?