Closed nyi-ailytics closed 2 months ago
I think the simplest is to use Konva.Path
var ellipseCutPath = new Konva.Path({
x: stage.width() / 2,
y: stage.height() / 2,
offsetX: 100,
offsetY: 50,
data: 'M 50,50 a 100,50 0 1,0 100,0', // This draws an arc of an ellipse
stroke: 'red',
strokeWidth: 5,
draggable: true
});
Is it possible to draw something like this? The ellipse that doesn't connect?