enum cv::WindowPropertyFlags

Overview

Flags for cv::setWindowProperty / cv::getWindowProperty. More…

#include <highgui.hpp>

enum WindowPropertyFlags
{
    WND_PROP_FULLSCREEN   = 0,
    WND_PROP_AUTOSIZE     = 1,
    WND_PROP_ASPECT_RATIO = 2,
    WND_PROP_OPENGL       = 3,
    WND_PROP_VISIBLE      = 4,
};

Detailed Documentation

Flags for cv::setWindowProperty / cv::getWindowProperty.

Enum Values

WND_PROP_FULLSCREEN

fullscreen property (can be WINDOW_NORMAL or WINDOW_FULLSCREEN).

WND_PROP_AUTOSIZE

autosize property (can be WINDOW_NORMAL or WINDOW_AUTOSIZE).

WND_PROP_ASPECT_RATIO

window’s aspect ration (can be set to WINDOW_FREERATIO or WINDOW_KEEPRATIO).

WND_PROP_OPENGL

opengl support.

WND_PROP_VISIBLE

checks whether the window exists and is visible