textmode.synth.js / SynthSource / scale
Method: scale()
ts
scale(
amount?,
xMult?,
yMult?,
offsetX?,
offsetY?): this;Scale coordinates.
Parameters
| Parameter | Type | Description |
|---|---|---|
amount? | SynthParameterValue | Scale amount (default: 1.5) |
xMult? | SynthParameterValue | X axis multiplier (default: 1.0) |
yMult? | SynthParameterValue | Y axis multiplier (default: 1.0) |
offsetX? | SynthParameterValue | X offset (default: 0.5) |
offsetY? | SynthParameterValue | Y offset (default: 0.5) |
Returns
this