gemini-viewer-examples icon indicating copy to clipboard operation
gemini-viewer-examples copied to clipboard

line color

Open Super-Xiao opened this issue 1 year ago • 2 comments

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 avatar Apr 07 '24 08:04 Super-Xiao

@yanzexuan1

Super-Xiao avatar Apr 08 '24 02:04 Super-Xiao

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.

yanzexuan1 avatar Apr 08 '24 06:04 yanzexuan1