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 ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025