Jquery draw line between two points. width() / 2; var pointBcenterY = $(b).