konvajs / konva

Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
http://konvajs.org/
Other
11.36k stars 916 forks source link

Ring Clockwise #1406

Closed Tyme-Bleyaert closed 1 year ago

Tyme-Bleyaert commented 1 year ago

What does the attribute clockwise in Konva.Ring do?

I cannot find anthing about it in the API docs.

image image

Also if you try to set clockwise by calling a function you get an error. ring.clockwise(false); image

I tried this, because I thought it might work the same as Konva.Arc.

So I'm not sure the attribute does anything. Or maybe I'm missing something?

yinguangyao commented 1 year ago

Clockwise only has type definition, no implementation

lavrton commented 1 year ago

Thanks for the report. It looks like it is a copy/paste error.

Tyme-Bleyaert commented 1 year ago

It also need to be removed from https://konvajs.org/api/Konva.Ring.html.

lavrton commented 1 year ago

Yes, it will be updated with the next release.