SpectrumSliderTrack¶
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.