Skip to content

Ellipse Transparency Not Rendered When Drawing Arc Inside the Ellipse Using GraphicsView on Android #29394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SanjaySF4372 opened this issue May 8, 2025 · 1 comment · May be fixed by #29528
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@SanjaySF4372
Copy link

Description

When using GraphicsView on Android to draw a transparent-filled ellipse with a shadow, and overlaying it with a visible arc using DrawArc, the ellipse fill transparency is ignored. Instead of showing transparency, only the shadow is visible, giving the impression that the shadow fills the entire ellipse. This behavior occurs only on Android and not on other platforms

Windows:
Image

Android:

Image

Steps to Reproduce

1.Create a custom class implementing IDrawable and override the Draw method.
2.In the Draw method:
• Set a transparent fill color using Colors.Transparent or Color.FromArgb() with alpha.
• Call canvas.SetShadow() to apply a shadow.
• Call canvas.FillEllipse() using the transparent color.
• Optionally, draw a filled arc using canvas.DrawArc().
3.Add a GraphicsView to the class and assign Drawable = this.
4.Run the app on an Android device or emulator.

Link to public reproduction project repository

https://github.com/SanjaySF4372/Sample

Version with bug

9.0.14 SR1.4

Is this a regression from previous behavior?

No, this is something new

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

@SanjaySF4372 SanjaySF4372 added the t/bug Something isn't working label May 8, 2025
@prakashKannanSf3972
Copy link
Contributor

This issue has been verified in Visual Studio Code 1.99.3 with MAUI versions (9.0.0, 9.0.60 & 8.0.100). It can be reproduced on the Android platform.

@prakashKannanSf3972 prakashKannanSf3972 added platform/android 🤖 area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 8, 2025
@vishnumenon2684 vishnumenon2684 added the partner/syncfusion Issues / PR's with Syncfusion collaboration label May 8, 2025
@StephaneDelcroix StephaneDelcroix added this to the Backlog milestone May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
4 participants