procedure Skew(dx, dy: double);
dx represents the horizontal skew where dx is expressed as a fraction of the image's height. Likewise, dy represents the vertical skew where dy is expressed as a fraction of the image's width. (Negative values will reverse the direction of skew).
dx and dy are each limited to the range -2.0 ... 2.0.
uses Img32, Img32.Fmt.PNG; ... img := TImage32.Create; img.LoadFromFile('beetle.png'); img.Skew(0.5, 0); img.SaveToFile('beetle_skewed.png'); img.Free;
Copyright ©2019 Angus Johnson - Image32 ver. 3.3 - Documentation last updated on 21-September-2021