lineTo() public method

public lineTo ( float arg0, float arg1 ) : void
arg0 float
arg1 float
return void
Example #1
0
		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;
		}
Example #2
0
		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;
		}