Can we draw an un-closed ellipse like below?
nyi-ailytics opened this issue · comments
nyi-ailytics commented
Anton Lavrenov commented
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
});