dotnet/maui

GraphicsView line stroke rendering inconsistent on Android compared to other platforms

Open

#32,465 创建于 2025年11月10日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C# (23,245 star) (1,951 fork)batch import
area-drawinggood first issueplatform/androids/triageds/verifiedt/bug

描述

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

贡献者指南