Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只想要两点之间的垂直线。目前,我正在这样做:
board.create('line',[[2, 4],[2, 6]]);
这绘制了一条无限的垂直线。我怎么才能在两点之间划一条线?谢谢!
弄清楚了。您必须将其设为“段”而不是“线”。