DashView
DashView copied to clipboard
一个在Android上实现绘制虚线的控件,可以指定虚线的样式和方向
Results
2
DashView issues
Sort by
recently updated
recently updated
newest added
在Android 7 以上测试发现,颜色值设置为 public static final int DEFAULT_LINE_COLOR = 0x9E9E9E; 后绘制不出来,查看文档发现是Paint的 setColor方法支持的是ARGB格式的颜色值,所以改成: public static final int DEFAULT_LINE_COLOR = 0xff9E9E9E; 就可以了。 还希望可以更新下,谢谢。
请问可不可以增加虚线角度的属性,可以绘制斜的虚线