GraphicsView line stroke rendering inconsistent on Android compared to other platforms
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 296
Description
### 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](https://github.com/user-attachments/files/23446791/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
```shell
```
Contributor guide
Research direction
Start by running the attached BorderSample.zip project on Android and comparing its GraphicsView custom IDrawable grid-line rendering with Windows. Investigate why identical StrokeSize and color produce thinner or inconsistent Android lines, then verify that the stroke appearance is consistent across the affected platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100