SpectrumSliderTrack¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/SpectrumSliderTrack.ts for the most up-to-date information.
Overview¶
This SliderTrack depicts a spectrum of colors in the track.
@author Sam Reid (PhET Interactive Simulations)
Class SpectrumSliderTrack¶
Constructor¶
new SpectrumSliderTrack( property : TProperty<number>, range : Range, providedOptions? : SpectrumSliderTrackOptions )¶
Instance Methods¶
Type SpectrumSliderTrackOptions¶
- borderRectangleOptions?:
- stroke?: TColor
- lineWidth?: number
- lineDash?: number[]
- lineDashOffset?: number
- lineJoin?: LineJoin
- & PickOptional<SpectrumNodeOptions, "valueToColor"> & SliderTrackOptions
Source Code¶
See the source for SpectrumSliderTrack.ts in the scenery-phet repository.