[英]EaselJS triangle with rounded corners?
沒有工作於roundRect API的用於圓角多邊形的canvas API。
我可以想到幾種方法:
[編輯]我花了一些時間制作示例https://jsfiddle.net/lannymcnie/cga60tsf/1/
樣品
// Line outer radius
context.lineJoin = "round";
context.lineWidth = cornerRadius;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.