Skip to content

textmode.synth.js / SynthSource / repeat

Method: repeat()

ts
repeat(
   repeatX?, 
   repeatY?, 
   offsetX?, 
   offsetY?): this;

Repeat coordinates in both X and Y directions.

Parameters

ParameterTypeDescription
repeatX?SynthParameterValueNumber of X repetitions (default: 3.0)
repeatY?SynthParameterValueNumber of Y repetitions (default: 3.0)
offsetX?SynthParameterValueX offset between repetitions (default: 0.0)
offsetY?SynthParameterValueY offset between repetitions (default: 0.0)

Returns

this

Example