Skip to main content

TdxGPImage.Flip(Boolean,Boolean) Method

Flips the stored image horizontally and/or vertically.

Declaration

procedure Flip(AHorizontally: Boolean; AVertically: Boolean);

Parameters

Name Type
AHorizontally Boolean
AVertically Boolean

Remarks

Call this procedure and pass True as the AHorizontally and/or AVertically parameters to flip the stored image along the horizontal and/or vertical axes, respectively. A Flip procedure call does not change the stored image’s format if it is BMP or SVG; otherwise, converts the image to BMP. In the latter case, you can use the ImageCodec property to restore the original image format.

Note

A Flip procedure call has no effect if the image container is empty or the procedure accepts False as both the AHorizontally and AVertically parameters.

See Also