I want to draw three circles with scale on the rim. These three circles will start from the same coordinate but with different radius.
When I run this code the second circle is colliding or overlapping the first one. Can anyone give some idea how to draw these three circles without overlapping each other?
Akil Kumar wrote:When I run this code the second circle is colliding or overlapping the first one. Can anyone give some idea how to draw these three circles without overlapping each other?
Hi Akil,
Not sure what you mean by colliding or overlapping. Both the circles have the same centre, so of course one is being drawn over the other. If you try this code (same code as yours, Line A just removes the filling from the circle) you can see where they are being drawn:
If you don't want the circles to overlap, you will have to give them different centres.
Akil Kumar
Ranch Hand
Joined: Jun 08, 2009
Posts: 83
posted
0
Hi Nidhi,
Thanks it helped. I have attached an image. I am intending to bring some scale along the rim of the circle like how a speedometer will look like.
I have to give the minimum scale limit and the maximum scale limit. I have to specify how many segments or sector it can have between each scale.
Can you please provide some idea for this?
Thanks it helped. I have attached an image. I am intending to bring some scale along the rim of the circle like how a speedometer will look like.
I have to give the minimum scale limit and the maximum scale limit. I have to specify how many segments or sector it can have between each scale.
Can you please provide some idea for this?
Thanks,
Could you please post what you have tried till now... it would be easier to provide ideas based on that....
Akil Kumar
Ranch Hand
Joined: Jun 08, 2009
Posts: 83
posted
0
I am trying use those scale parameters and draw a scale on the circle. This should like a watch dial with a scale on it.
Thanks,
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.