What i need
Current example : http://jsfiddle.net/2ecsjomz/5/
Notes:
"left drag"
will always stay on the left or the "right drag"
Change the path coding to this one below:
// Build the path decription
p = "M" + pt1x + "," + pt1y +
" L" + (pt1x+pt2x)/2 + "," + pt1y +
" L" + pt2x + "," + pt2y ;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.