求问
liangnansheng opened this issue · comments
LiangNanSheng commented
为什么我的图片Border与调节图片长宽的那条线有空隙
FlyingSnowBean commented
可以贴图吗?
LiangNanSheng commented
FlyingSnowBean commented
这是新加的padding功能,有个通过setDefaultPiecePadding和setPadding方法控制,你可以查看Demo中ProcessActivity的相关设置,当然你可以都设为0,就是你要的效果了。
LiangNanSheng commented
谢谢,可以给个思路如何实现斜线的吗
onclicklistener commented
PuzzleView的onDraw中的
canvas.clipRect(border.getRect());
换成
canvas.clipPath(path);
path自己看喽→_→
LiangNanSheng commented
你实现了斜线的吗?
onclicklistener commented
你要的不是思路么 @liangnansheng
LiangNanSheng commented
我还在实现中@onclicklistener 遇到了问题