Passing X,y Coordinates Of Drawcircle() To Drawline()
I am trying to draw line between two circles. I have drawn two circles on canvas, These two circles have their cx and cy points. I want to pass these cx and cy of both circles to d
Solution 1:
Put lineDraw() in onDraw() as well. Put all your drawing operations in onDraw(), they don't belong anywhere else. In onTouch just save the x/y, and in onDraw() draw at x/y.
Post a Comment for "Passing X,y Coordinates Of Drawcircle() To Drawline()"