Canvas Toolkit
← Class index

CStyleOptionSlider

GUI and styling · extends CStyleOption

Contains style information used to render a slider.

Module gui/CStyleOptionSlider.js. This class is available through the browser modules in the download.

Declared members

minimum: number;

Returns or updates the minimum value.

maximum: number;

Returns or updates the maximum value.

value: number;

Returns or updates the value value.

constructor(other?: CStyleOptionSlider | null);

Creates a new CStyleOptionSlider instance. @param other Other.

initFromSlider(slider: CSlider): void;

Initializes this style option from the specified slider. @param slider Slider.