Is it possible to round the ends of a RadPath / RadArc?

1 Answer 74 Views
Path
Angus
Top achievements
Rank 1
Iron
Iron
Angus asked on 24 Aug 2022, 08:05 AM | edited on 24 Aug 2022, 08:07 AM

I know you can set the StrokeLineCap on the default MAUI canvas object but I can't find a similar option in the Telerik controls. 

I am trying to draw something like in the attached pic. This is easy enough with your RadArc but there doesn't seem to be an option for rounded ends. 

The example app has a straight line with rounded ends but this is achieved by putting arcs on either end manually. I will be animating this as well so manually animating custom rounded ends as the arc moves around could be tricky.

Any suggestions?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Accepted
Didi
Telerik team
answered on 24 Aug 2022, 08:54 AM

Hi,
Thank you for the provided image. 

As you have mentioned animation and on the attached picture the control you are looking for is not the RadPath, it is the Radial Gauge control: https://docs.telerik.com/devtools/maui/controls/gauge/gauge-types/radial - Example attached.

This is the result:

This is just an example. You may need to extend it further to match the requirements you have. 

Angus
Top achievements
Rank 1
Iron
Iron
commented on 24 Aug 2022, 09:57 AM

Thank you!

I was just following the example on the radial gauge page but the info I was looking for was under indicators :)

Tags
Path
Asked by
Angus
Top achievements
Rank 1
Iron
Iron
Answers by
Didi
Telerik team
Share this question
or