"singleStep"

Defines the value for a step if you press the arrow keys.

Synopsis

shape.singleStep(int value);

Parameters

Parameter Description
value Value for each step

Description

Defines the value for a step if you press the arrow keys.

Example

In the following example the value is set to 10. This means that the slider is moved in steps of 10 each time the arrow keys are pressed.

main()
{
  this.singleStep(10);
}

Assignment

Slider