Skip to content

ProfileColorProperty

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.