Skip to content

TColor

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/util/TColor.ts for the most up-to-date information.

Overview

Type representing a ColorDef Please see Color.toColor() for a way to transform these colors.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Type TColor

import type { TColor } from 'scenerystack/scenery';

TReadOnlyProperty<Color | string | null> | TReadOnlyProperty<Color | string> | TReadOnlyProperty<Color | null> | TReadOnlyProperty<string | null> | TReadOnlyProperty<Color> | TReadOnlyProperty<string> | TReadOnlyProperty<null> | Color | string | null

Source Code

See the source for TColor.ts in the scenery repository.