stan
stan

Reputation: 239

Android Path bended/waved line

I have a java list with points that needs to be drawn as a path in a canvas. I would like to create something like a curved line from the point list.

An example of the line can be found here: http://postimg.org/image/67p4ztil1/

thanx

Upvotes: 0

Views: 107

Answers (1)

Kanak Sony
Kanak Sony

Reputation: 1560

Have you checked FingerPaint Demo in Android SDK Examples. You can use Path.quadTo() or Path.cubicTo() for that.

This may be useful for you - Bezier curve and canvas.

EDIT: Line Path: Bezier Curves

http://rengelbert.com/blog/line-path-bezier-curves/

Upvotes: 1

Related Questions