Skip to content

.getDelay()


Description

This function returns the current delay value of an EasyEase Object.



Examples:

getDelay_01.pde
import easy.ease.*;

EasyEase curve = new EasyEase(this);

void setup() {
    size(600, 400);
    float delay = curve.getDelay();
    // prints 0.0 to the console
    println(delay);
}

getDelay_02.pde
import easy.ease.*;

EasyEase curve = new EasyEase(this, 4.0, 2.0, 1.5, 0.5);

void setup() {
    size(600, 400);
    float delay = curve.getDelay();
    // prints 0.5 to the console
    println(delay);
}


Syntax

myCurve.getDelay()


Return

float