How to get the bounds for the path Node
You can use getBounds method in the Application level in which you can pass the pathData to get the bounds. You can set these bounds to the node’s width, height, offsetX and offsetY.
If you have a multiple pathData, you can create as a group node. Please refer to the code example and JSPlayground link below.
This page will automatically be redirected to the sign-in page in 10 seconds.