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

Changing shape properties dynamically #182

Open
GreenFootballs opened this issue May 22, 2021 · 2 comments
Open

Changing shape properties dynamically #182

GreenFootballs opened this issue May 22, 2021 · 2 comments

Comments

@GreenFootballs
Copy link

I'm probably missing something, but is there a way to change the properties of a shape dynamically, for example the fill color, without redrawing the entire randomly generated object?

@mirabledictu
Copy link

mirabledictu commented Jun 28, 2021

I'm probably missing something, but is there a way to change the properties of a shape dynamically, for example the fill color, without redrawing the entire randomly generated object?

Any update on this? I'm also trying to draw a rectangle and end it on mouseup but can't seem to find a good example out there.

#184

@GreenFootballs
Copy link
Author

No solutions yet. I'm also trying to create an element on a mousedown event, then use mousemove to change the dimensions dynamically, but I'm having no luck and the docs don't help. It must be possible - check out Excalidraw, that app does exactly this when you create objects.

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

2 participants