Skip to content

ProfileColorProperty

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

Overview

ProfileColorProperty is a ColorProperty that changes its value based on the value of colorProfileProperty.

@author Sam Reid (PhET Interactive Simulations)

Class ProfileColorProperty

import { ProfileColorProperty } from 'scenerystack/scenery';

Constructor

new ProfileColorProperty( namespace : Namespace, colorName : string, colorProfileMap : ColorProfileMap, providedOptions? : PropertyOptions<Color> )

Instance Methods

dispose()

Instance Properties

name : string

(readonly)

Treat as private

Source Code

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