Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clip(裁剪)的方法出现黑色图片或黑线 #3

Open
lee0726 opened this issue Mar 15, 2018 · 0 comments
Open

clip(裁剪)的方法出现黑色图片或黑线 #3

lee0726 opened this issue Mar 15, 2018 · 0 comments

Comments

@lee0726
Copy link

lee0726 commented Mar 15, 2018

发现 clip(裁剪)的方法,在IOS下处理图片是黑色的,按照 drawMag 方法修改srcX,srcY为负的情况,但不知道如何处理 drawX, drawY 的数据,JS不熟悉,还请大神赐教。

附上黑线图片,原图是没有黑线的,再不点击拖动的情况下,点击裁剪后就出现了
image

@lee0726 lee0726 changed the title clip(裁剪)的方法出现黑色图片问题 clip(裁剪)的方法出现黑色图片或黑线 Mar 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant