Skip to content
CShift0.45

Flip

Enum · namespace System.Graphics · Since 0.45

enum Flip : int32

How an image is mirrored when it is drawn (Canvas.DrawImage with a flip); the values combine with |.

Value Number Description
None 0 As it is.
Horizontal 1 Left and right swapped: a sprite that looks the other way.
Vertical 2 Top and bottom swapped.
Both 3 Both: the same as a turn by 180 degrees.