Enum Efl.Gfx.ImageOrientation
An orientation type, to rotate and flip images.
This is similar to EXIF's orientation. Directional values (up
, down
, left
, right
) indicate the final direction in which the top of the image will be facing (e.g. a picture of a house will have its roof pointing to the right if the right
orientation is used). Flipping values (flip_horizontal
and flip_vertical
) can be additionally added to produce a mirroring in each axis. Not to be confused with Efl.Ui.LayoutOrientation which is meant for widgets, rather than images and canvases. This enum is used to rotate images, videos and the like.
Fields
Name | Description |
---|---|
Down | Orient down, rotate 180 degrees. |
FlipBitmask | Bitmask that can be used to isolate flipping values, that is, |
FlipHorizontal | Mirror horizontally. Can be added to the other values. |
FlipVertical | Mirror vertically. Can be added to the other values. |
Left | Orient left, rotate 270 degrees clock-wise. |
None | Default, same as up, do not rotate. |
Right | Orient right, rotate 90 degrees clock-wise. |
RotationBitmask | Bitmask that can be used to isolate rotation values, that is, |
Up | Orient up, do not rotate. |