to 方法用于将当前直线段的起点终点坐标设为指定的坐标。
to
返回修改后的直线段对象本身。
var line = new Yuka.LineSegment(0, 0, 2, 2); line.to(3, 3);
x
y