dotnet/maui

GraphicsView line stroke rendering inconsistent on Android compared to other platforms

Open

Aperta il 10 nov 2025

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C# (23.245 star) (1951 fork)batch import
area-drawinggood first issueplatform/androids/triageds/verifiedt/bug

Descrizione

Description

When using GraphicsView with a custom IDrawable implementation to draw grid lines, the stroke rendering on Android looks visually different compared to other platforms like windows. The lines appear thinner or inconsistent even when the same StrokeSize and color are applied.

Steps to Reproduce

  • Download and run the attached sample project on Android.

BorderSample.zip

Expected Behavior Grid lines should have consistent stroke thickness and appearance across all platforms when using the same StrokeSize and color.

Actual Behavior On Android, the grid lines appear visually thinner or inconsistent.

(See attached screenshot for reference.)

Link to public reproduction project repository

No response

Version with bug

10.0.0-rc.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Guida contributor