Skip to content

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

@SanjaySF4372

Description

@SanjaySF4372

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions