0

I am wondering if it would be possible to resize a path using values inputted by the user after he draws the path. Setting the width and height for example.

I am currently using the transform attribute within a JS function to do that but while the path gets resized, the handles of the path stay in the original position which makes the thing a total mess.

Any ideas?

4

1 に答える 1

1

パスが選択されていると仮定します。

svgCanvas.changeSelectedAttribute("transform", "scale(0.5, 1)");

于 2013-02-17T13:10:28.167 に答える