function moveShapeOrEnd(pathEnd, moveFn) {
	if (pathEnd.shape) {
		moveFn(shapeObj(pathEnd.shape).data.position);
		shapeObj(pathEnd.shape).drawPosition();
	} else {
		moveFn(pathEnd.data.position);
	}
}
applay moveFn to connected shape or to path end point
@param {PathEnd} pathEnd, @param {{(point:Point):void}} moveFn