Skip to content
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

Arc: attributes are applied to rect instead of path #34

Open
RThomasHyde opened this issue May 23, 2019 · 1 comment
Open

Arc: attributes are applied to rect instead of path #34

RThomasHyde opened this issue May 23, 2019 · 1 comment

Comments

@RThomasHyde
Copy link

When setting attributes like bgColor, cssClass, stroke, etc. on a draw2d.shape.basic.Arc, they are applied to the containing rect instead of the path. So if I define an arc with bgColor = "#000000", instead of a black arc I get an arc with the default background color, inside of a black rectangle. There seems to be no way to control the attributes of the svg path, only the rect.

@RThomasHyde
Copy link
Author

I found that if I style the arc by setting cssClass, I can properly set the fill color. It's just when you use the bgColor property that it doesn't affect the actual arc shape. So my immediate problem is solved, but I suppose this is still a bug since bgColor works properly on the other basic shapes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant