how to draw this in xamarin.android

mc 5,186 Reputation points
2025-03-12T14:29:45.3+00:00

there is two points to one circle how to draw it?

I am using canvas in OnDraw

points:(p0x,p0y)and (p1x,p1y) and the center of the circle is (x,y)

how to draw the line and the circle?
I know how to draw circle but I do not want to draw the rest of the circle.

User's image

you can see it .point to circle's tagent and the circle.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,378 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.