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

line color #131

Open
Super-Xiao opened this issue Apr 7, 2024 · 2 comments
Open

line color #131

Super-Xiao opened this issue Apr 7, 2024 · 2 comments

Comments

@Super-Xiao
Copy link

Hello, I have a question now. The color of the lines drawn after changing the background color through the toolbar has not changed. The original white lines cannot be displayed on a white background. Is there any way to change the line color after changing the background color?

@Super-Xiao
Copy link
Author

@yanzexuan1

@yanzexuan1
Copy link
Collaborator

There is no API yet for now to handle this, we cannot dynamically change the color.

Just for your reference, there is DxfLoaderConfig.overrideColor, you can set everything to this color when loading.

And, there is some other tricky mean. E.g., find line entities by yourself and change them, do-able with some efforts.

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