Skip to content

textmode.synth.js / SynthSource / shear

Method: shear()

ts
shear(
   x?, 
   y?, 
   centerX?, 
   centerY?): this;

Shear coordinates along X and Y axes.

Parameters

ParameterTypeDescription
x?SynthParameterValueX shear amount (default: 0.0)
y?SynthParameterValueY shear amount (default: 0.0)
centerX?SynthParameterValueCenter X (default: 0.5)
centerY?SynthParameterValueCenter Y (default: 0.5)

Returns

this

Example