Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
194
rated 0 times [  199] [ 5]  / answers: 1 / hits: 59176  / 12 Years ago, sat, february 16, 2013, 12:00:00

How can I change the width/height of a selected path in SVG-edit.




  • So far i only have this:



    svgCanvas.changeSelectedAttribute(height, 499);




The above command has absolutely no effect on the path. Resizing the bounding box just resizes the bounding box, but not the path itself.


More From » svg

 Answers
7

For a path, you probably want to apply a transform rather than edit the path coordinates, which can get complicated. See http://www.w3.org/TR/SVG/coords.html#TransformAttribute


[#80196] Thursday, February 14, 2013, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kaley

Total Points: 141
Total Questions: 109
Total Answers: 109

Location: Burundi
Member since Sat, Aug 21, 2021
3 Years ago
;