Issue
I need to a rounded border in Xamarin.Forms, as i need to customize the thickness i can't go with existing Frame
class.
Constraints
- Green background is not permanent value, it can be changed dynamically.
- Gap width is also dynamic one.
- Able to change corner radius, thickness and color of the border.
I came across some class in Java for similar implementation CutoutDrawable
Without using SkiaSharp in Xamarin.Forms, kindly do share your suggestion to achieve this in custom renderers.
Solution
Porter-Duff
mode is option available to achieve my requirement. Each platforms contains its own API for this approach.
Answered By - Joy Rex
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.