SParam

Swipe Parameters

Constructor
SParam(repeat: number = 1, delay: number = 0, waitNext: number = 100, random: number = 0)

Construct a Swipe Parameter

Parameters
repeat The number of repeat
delay Delay the swipe in miliseconds
waitNext Wait miliseconds until the next statement
random Randomize all points in this swipe by this amount (x +- random, y +- random) with every repeat

SParam(param: SParam)

Construct a SParam from another SParam

Parameters
param another SParam to copy value from
Static Methods
repeat
static SParam repeat(repeat: number)

Create a SParam with repeat parameter. Other parameter leave default

Parameters
repeat The number of repeat
Return
SParam New instance of SParam
delay
static SParam delay(delay: number)

Create a SParam with delay parameter. Other parameter leave default

Parameters
delay Delay the swipe in miliseconds
Return
SParam New instance of SParam
waitNext
static SParam waitNext(waitNext: number)

Create a SParam with waitNext parameter. Other parameter leave default

Parameters
waitNext Wait miliseconds until the next statement
Return
SParam New instance of SParam
random
static SParam random(random: number)

Create a SParam with random parameter. Other parameter leave default

Parameters
random Randomize all points in this swipe by this amount (x +- random, y +- random) with every repeat
Return
SParam New instance of SParam
Methods
repeat
SParam repeat(repeat: number)

Set repeat to a new value

Parameters
repeat The number of repeat
Return
SParam This SParam instance
delay
SParam delay(delay: number)

Set delay to a new value

Parameters
delay Delay the swipe in miliseconds
Return
SParam This SParam instance
waitNext
SParam waitNext(waitNext: number)

Set waitNext to a new value

Parameters
waitNext Wait miliseconds until the next statement
Return
SParam This SParam instance
random
SParam random(random: number)

Set random to a new value

Parameters
random Randomize all points in this swipe by this amount (x +- random, y +- random) with every repeat
Return
SParam This SParam instance

© 2021 - Macrorify by KoK-CODE