path.moveTo(0.0f, 0.0f); path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
path.moveTo(0.0f, 0.0f); path.lineTo(400.0f, 0.0f);
Path path = new Path(); buildPath(path); return path;
Path path = new Path(); buildStraightPath(path); return path;
super.onCreate(savedInstanceState); mPath = makePath(); mStraightPath = makeStraightPath(); final TextOnPathView view = new TextOnPathView(this); setContentView(view);