-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Comments
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
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.
The text was updated successfully, but these errors were encountered: