You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maydin edited this page Jan 19, 2013
·
3 revisions
This is an ImageView which is drawable. You can draw lines on this ImageView by touch event. There is a sample Activity in the repository that uses this custom view. I made some contributions to this.
setBitmap(Bitmap img):You can change the Bitmap of the ImageView with this method.
undo():You can undo the drawings with this method.
setColor(int alpha, int red, int green, int blue):You can change the color of the stroke with this method.
setWidth(float w):You can change the width of the stroke with this method.