moveTo() public method

public moveTo ( float arg0, float arg1 ) : void
arg0 float
arg1 float
return void
示例#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;
		}
示例#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;
		}