I have a circle that appears in fabric.js version 1.6.0-rc.1 file:
var circlePatrol = new fabric.Circle({ top: 300, left: 180, radius: 200, strokeDashArray: [10, 10], stroke: 'black', strokeWidth: 10, fill: 'white', opacity: 0.2 });
I want to set the background as transparent, but keep the move around the circle. Is this possible in fabric.js? Transparency is also applied to the stroke / border, I try to apply it only against the background of the circle.
I tried this also with a transparent background, still no luck:
var circlePatrol = new fabric.Circle({ top: 300, left: 180, radius: 200, strokeDashArray: [10, 10], stroke: 'black', strokeWidth: 10, backgroundColor: 'transparent', });
Simon source share