Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.

 

senocular.com ActionScript Library

PathMoveSegment.as

1
2
3
4
5
6
7
8
9
10
11
import flash.geom.Point;
import com.senocular.drawing.PathLineSegment;

class com.senocular.drawing.PathMoveSegment extends PathLineSegment {
	
	// Constructor
	public function PathMoveSegment(startPt:Point, endPt:Point) {
		super(startPt, endPt);
		_command = "moveTo";
	}
}