-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] LinearGradientBrush: StartPoint/EndPoint do nothing on a BoxView on Android #13493
Comments
@Tommigun1980 Happens with |
Hi @jsuarezruiz! I had seen the issue with a BoxView and assumed it was a generic problem with LinerGradientBrushes, but encouraged by your question replaced the BoxView with an Image and lo and behold that works, so apparently this is an issue with BoxViews only. |
Thanks for the detailed feedback @Tommigun1980. The issue will be fixed by #11812 |
Ah thank you! And apparently I had already reported this exact issue earlier, couldn't remember lol. |
They were not exactly the same, similar ones although the fix is the same. In any case, I hope we can include the fix soon!. |
Description
LinearGradientBrush's StartPoint and EndPoint properties have no effect on Android (while they do work properly on iOS).
Steps to Reproduce
Define a brush such as:
Draw with it, for example:
Edit: Issue happens only with a 'BoxView'; 'Image' for example works properly.
iOS - correct:
![Screenshot 2021-01-21 at 19 35 32](https://user-images.githubusercontent.com/60286968/105388888-dad3fe80-5c1f-11eb-8e92-35ad02a340ec.png)
Android - incorrect (StartPoint and EndPoint have no effect):
![Screenshot 2021-01-21 at 19 36 03](https://user-images.githubusercontent.com/60286968/105388947-ec1d0b00-5c1f-11eb-9cbe-c96f83220b9b.png)
Expected Behavior
Android should honor StartPoint and EndPoint, as is done on iOS.
Actual Behavior
StartPoint and EndPoint are ignored on Android.
Basic Information
Environment
Show/Hide Visual Studio info
The text was updated successfully, but these errors were encountered: