0

I'm working on app that draws a straight line and the user can curve it (like an arc) by touching a point in that line and start moving his finger.

I was thinking of

drawArc ()

But it doesn't seem that i can change it at run-time, or even handle it.

Any suggestions please?

1 Answers1

0

I suggest you use a Path and draw a path with canvas.drawPath(path, paint);. You can curve ut with path.quadTo(float x1, float y1, float x2, float y2)

Bojan Kseneman
  • 15,488
  • 2
  • 54
  • 59