CoatedMoose / CustomViews

A set of views for use in android applications, including a signature capture view.
24 stars 6 forks source link

clearSignature() does not support transparent background #11

Open momoteRyanmt opened 9 years ago

momoteRyanmt commented 9 years ago

It attempts to use transparent drawColor which means the canvas stays the same

solution is to swap the following in clearSignature method - mCanvas.drawColor(bgColor); with mCanvas.drawColor(bgColor, PorterDuff.Mode.CLEAR);

codemajor247 commented 6 years ago

when i using this method . my signView is black. your code not working