Apr 21, 2021, 9:38:42 AM4/21/21
Recently I have been facing issues with setting up stroke width of paper.path with pt and px.
The issue is I don't know the syntax if there is any to set the stroke width in terms of pt and px.
I was assigning the stroke width with appropriate number like
myPath.strokeWidth = 10;
But now I need to set stroke width with points and pixels.
myPath.strokeWidth = 2 px; //This syntax in not working
please help me to find the correct syntax to achieve the above.