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

SvgElement's setStroke(...) methods should use a double instead of int for the stroke width parameter #22

Open
netsrotr opened this issue Jul 24, 2024 · 0 comments

Comments

@netsrotr
Copy link

Using Svg version 1.2.1 with vaadin 24.4.2

The current impl. of the class SvgElement supports setStroke(...) methods, that use an int to transport the stroke width.
We have to create e.g. a Ellipse that has a stroke width of 0.000817993d. Integer is the wrong type here, and I think for the most svg elements.

Expected: we can specify a double as stroke width, so maybe add overload(s) would be ok.

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