down vote
favorite

I would like to draw Bezier Curves in SVG, and i know that the code looks like:

path.setAttributeNS(null, "d", "M5,5 C5,45 45,45 45,5"

but what to do if i want to give attributes on page i mean like:

circ.setAttributeNS(null, 'cx', x);
circ.setAttributeNS(null, 'cy', y);
circ.setAttributeNS(null, 'r', bokU);

where cx,cy,r are given from page text field after i submit it with button.I mean i want to write evry x and y postion of that curve on text fields and then when i hit button it will draw curve with given atributes like x,y,bokU in second code.

Member Avatar for LastMitch

down vote
favorite

@Drugsxxx

What do you mean by that? Can you be more directed?

Do you want someone to assist/help you or not, regarding about the issue you are having?

Im sorry i dont now why this is there its not part of my problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.