Canvas2DtoWebGL icon indicating copy to clipboard operation
Canvas2DtoWebGL copied to clipboard

Hi, is Path2D supported?

Open lidaof opened this issue 4 years ago • 4 comments

Hi there, thanks for the library. Is Path2D supported? https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D

lidaof avatar Aug 04 '19 06:08 lidaof

The problem is that Path2D doesnt have any method to read back the information stored inside a Path2D, so my only solution would be to create an analogous Path2D version will all the methods, which would take some time. But I will consider it for future version.

I will leave the issue open.

jagenjo avatar Aug 04 '19 11:08 jagenjo

Any recent updates on this?

AndreyAndreyevich avatar May 15 '20 18:05 AndreyAndreyevich

Still not possible, browsers do not give you access to the points of a Path2D.

jagenjo avatar May 15 '20 19:05 jagenjo

Still not possible, browsers do not give you access to the points of a Path2D.

Can you back up the points of the Path2D into an internal array?

andrewdevcup avatar Jul 20 '21 15:07 andrewdevcup