-
Notifications
You must be signed in to change notification settings - Fork 593
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
Add circle draw shape #885
Comments
Hello, I am trying to add shapes, circles, and rectangles in the draw part, how can I implement dwv.math.Circle |
Check out the examples, there is one with draw: https://jsfiddle.net/ivmartel/fugw49be/ (change the draw option to be |
Thanks for replying its working, but I have 1 more question I want to add multiple options in the top bar, like currently from your previous example I have Draw, WindowLevel, and ZoomAndPan, I tried adding Circle, rectangle in array but it's not working like this:
and on
I want to add an event based on the option selected by the user from the top menu,(onChangeTool = (tool: string) => {})) |
You need to add a select for the draw shape, when clicked, you can call |
The draw tool must be able to draw circle shapes.
The text was updated successfully, but these errors were encountered: