Zoom is not working for a drawn circle

Multi tool use
Multi tool use


Zoom is not working for a drawn circle



I have implemented TouchImageView class from the following github repository in my code.
https://github.com/MikeOrtiz/TouchImageView/blob/master/src/com/ortiz/touch/TouchImageView.java



in the above TouchImageView class in onDraw method i have implemented following code to draw circle


dotPaint.setColor(ContextCompat.getColor(getContext(), R.color.map_site_dot));
Point point = site.getPoint();
canvas.drawCircle((float) point.getX(), (float) point.getY(),
ViewUtils.dpToPx(DOT_DEFAULT_RADIUS), dotPaint);



but circle is not displaying.



If i have used dispatchDraw override method to draw circle it draw over the image.
then zoom not getting applied for drawned circle, only its working for the below image.
Could you please help me in this.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

6Ov57tgLvH0wErQCbxrg1
nMHZz1PM7E9WbqEZ,5RAcgeseNQw51wNH 9Y XXRvyWftH8YjvxcdsB CpBHDWq9lnG6rRQgoQQZRDFrMUgON Jc,3 5fV,gKtuy4,kKMXq

Popular posts from this blog

PySpark - SparkContext: Error initializing SparkContext File does not exist

django NoReverseMatch Exception

Audio Livestreaming with Python & Flask