-
-
Notifications
You must be signed in to change notification settings - Fork 409
Open
Labels
type: bug 🐞Errors in functionalityErrors in functionality
Description
Bug description
Can't seem to change the color of vtkTextActor.
Doing the following does not change the text color, it's always black (full codesandbox linked below):
const actor = vtkTextActor.newInstance();
actor.getProperty().setFontColor(255,255,255); // doctsring says 0-255 for RGB valuesalso tried actor.getProperty().setColor(), same behavior. Is there another way I should be setting the text color?
Steps to reproduce
here's a modification of the textActor example with RGB inputs:
Detailed Behavior
No response
Expected Behavior
Should be able to set the color of a vtkTextActor
Environment
- vtk.js version: 35.4.0
- Browsers: firefox
- OS: macos
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bug 🐞Errors in functionalityErrors in functionality