Skip to content

ColorProperty

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/ColorProperty.ts for the most up-to-date information.

Overview

Convenience type for creating Property.<Color>

@author Sam Reid (PhET Interactive Simulations)

Class ColorProperty

import { ColorProperty } from 'scenerystack/scenery';

Constructor

new ColorProperty( color : Color, providedOptions? : PropertyOptions<Color> )

Instance Methods

Source Code

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