You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the iOS ShapeRenderer the colors of an Element are converted to a CGColor object. When analyzing the Xamarin BoxView iOS renderer they use a UIColor. When rendering a ShapeView and a BoxView next to each other with the same color definition, the colors are rendered differently.
In this case iOS renders a slightly lighter color for the ShapeView:
In the iOS ShapeRenderer the colors of an Element are converted to a CGColor object. When analyzing the Xamarin BoxView iOS renderer they use a UIColor. When rendering a ShapeView and a BoxView next to each other with the same color definition, the colors are rendered differently.
In this case iOS renders a slightly lighter color for the ShapeView:
<StackLayout Orientation="Horizontal"> <e:ShapeView Color="#0076FF" ShapeType="Box" /> <BoxView Color="#0076FF" /> </StackLayout>
After changing the Color objects in the HandleStandardDraw in the iOS ShapeRenderer, the colors are the same again:
UIColor fillColor = Element.Color.ToUIColor(); UIColor strokeColor = Element.StrokeColor.ToUIColor(); fillColor.SetFill(); strokeColor.SetStroke();
The text was updated successfully, but these errors were encountered: