renderer.setTheme
setTheme(theme: ViewTheme): voidSwitch the canvas theme.
A no-op if the theme is already set to theme.
Not undoable. Emits "view:changed" with { theme }.
theme | ViewTheme | "dark" or "light". |
Returns: void