I'm using raphaeljs. I want to write function -to draw arc- like this,

$("#arc").drawArc({
  strokeStyle: "#000",
  strokeWidth: 1,
  x: 100, 
  y: 100,
  radius: 50,
  start: 45, 
  end: 135
});

Above code can draw 90° arc

How to make work above function work using raphaeljs?
Example
For Arcs calculations

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.