There are three different line styles that brusher understands i.e. round, square, butt
. If you don't provide it, it will use round
by default. Also, depending upon the image, the effect might not be quite visible in the background.
const brusher = new Brusher({
image: 'path/to/image.png',
lineStyle: 'butt',
});
brusher.init();
← Back to Home
Find some of the examples demonstrating some of the options in use through the buttons below.
Keep Cleared Sections Without Background Demo Sticky Blur Demo Different Line Style Github