Microsoft.Maui.Graphics
Microsoft.Maui.Graphics copied to clipboard
[Windows] Line isn't getting drawn
Line is not getting drawn on Windows.
On Windows, the following code does not render anything, whereas it renders properly as a diagonal red line on Android:
new Line { Stroke=Colors.Red, StrokeThickness=2, X1=0, X2=100, Y1=0, Y2=20 }
not tested on iOS
Could you test it again setting HeightRequest and WidthRequest?. I think could be the same as https://github.com/dotnet/maui/issues/4044
yep, it's the same issue - it works with HeightRequest and WidthRequest