Open lalyos opened 2 years ago
Set the brush's fill to your desired color, eg
drauu.options.brush.fill = 'red'
or
import { createDrauu } from 'drauu'
const drauu = createDrauu({
el: '#svg',
brush: {
mode: 'rectangle', // 'reactangle', 'ellipse'
color: 'skyblue',
size: 5,
fill: 'red'
}
})
The Brush documentation hints that a rentagle can be filled:
"Color filled, only works in
rectangle
andellipse
mode."But how is it activated on the ui?