javascript - Bezier curves in SVG -


i draw bezier curves in svg, , know code looks like:

path.setattributens(null, "d", "m5,5 c5,45 45,45 45,5") 

but if want give attributes on page mean like:

circ.setattributens(null, 'cx', x); circ.setattributens(null, 'cy', y); circ.setattributens(null, 'r', boku); 

where cx,cy,r given page text field after submit button. draw them in loop every curve difrent.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -