controlP5 / ControlP5 / addSlider( )

name
addSlider ( )
description
add a slider to controlP5. by default it will be added to the default tab of the main window. 
Syntax
addSlider(theName, theMin, theMax, theDefaultValue, theX, theY, theW, theH);
addSlider(theName, theMin, theMax, theX, theY, theWidth, theHeight);
parameters
theNameString 
theMinfloat 
theMaxfloat 
theDefaultValuefloat 
theXint 
theYint 
theWint 
theHint 
theWidthint 
theHeightint 


Returns
Slider
Usage
Web & Application
Related