I have been reimplementing an existing solution in Xamarin forms. In this original solution one of the things i have to be able to do is draw borders around any kind of view element. These borders should also be able to have rounded borders. The thing is that these borders kan have any thickness, so a simple frame isn't going to cut it.
The best solution we have found so fa is a custom renderer for both IOS and android that works using a contentView. I have added the source code for these.
Now these borders seem to work pretty ok when handling small border thicknesses however whenever i make these bigger problems start to arise.
An example of the main problem:
This however doesn't appear to be so in all of the cases.
I'm pretty new to xamarin and sincerely hope anyone can help me with this?
Thanks in advance