shearTransform method

T shearTransform({
  1. required double k,
  2. bool alongX = true,
})

Shear transformation, alongX is true along the x-axis, otherwise along the y-axis. k is the shear coefficient.

Implementation

T shearTransform({required double k, bool alongX = true}) =>
    _fromList(self.shearTransform(k: k, alongX: alongX));