static Path makeFollowPath () { Path p = new Path (); p.moveTo (0, 0); Random random = new Random (); for (int i = 1; i <= 15; i++) { p.lineTo (i * 20, (float)random.NextDouble () * 35); } return p; }
static Path makePathDash () { Path p = new Path (); p.moveTo (4, 0); p.lineTo (0, -4); p.lineTo (8, -4); p.lineTo (12, 0); p.lineTo (8, 4); p.lineTo (0, 4); return p; }