Skip to content

ColorProperty

Overview

Class ColorProperty

Convenience type for creating Property.<Color>

@author Sam Reid (PhET Interactive Simulations)

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.