Skip to content

[BUG] DrawingView with large LineWidth #3215

Description

@MFinkBK

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

When using a larger value for the DrawingView property LineWidth, e.g. 50, the resulting image looks strange, most probably because a wrong LineCap value is used. See the attached screenshot from the sample app:

Image

Expected Behavior

The resulting image uses the proper line cap type.

Steps To Reproduce

  1. Modify the LineWidth value of the DrawingView of the DrawingViewPage.xaml file in the sample app.
  2. Run the Sample app
  3. Go to the Drawing View
  4. Draw something in the "Draw & GO" area
  5. Observe the gray area below.

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui

Environment

- .NET MAUI CommunityToolkit: 14.1.1
- OS: Windows 11 25H2
- .NET MAUI: 10.0.60

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions