是否可以将段正方形隐藏在Paperjs中的路径上
在PaperJS中创建路径元素时,默认行为会在每个片段的交点处创建小正方形。有没有办法保持默认的蓝色路径线但隐藏正方形?可用于显示/隐藏的属性?
画一条线以查看示例
http://prapejs.org/examples/path-simples/path-simplification/
When creating path elements in paperJS, the default behavior creates small squares at the intersection of each segment. Is there a way to maintain the default blue path line but hide the squares? A property that can be used to show/hide them?
Draw a line to see an example
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想知道同一件事有一定的观点,但是直到您的问题之前,我从未试图弄清楚它。我似乎找不到有关此文件的任何文档,但它在JSfiddle上起作用。尝试以下操作:
找到文档
我相信正确的方法是在
scope.settings
中设置此值;paperscope.settings.settings.handlesize
I wondered the same thing a some point but never tried to figure it out until your question. I cant seem to find any documentation on this but it worked on jsfiddle. Try this:
Found documentation
I believe the correct approach would be to set this value in
scope.settings
;PaperScope.settings.handleSize