getWindowProperty method
getWindowProperty returns properties of a window.
For further details, please see: https://docs.opencv.org/master/d7/dfc/group__highgui.html#gaaf9504b8f9cf19024d9d44a14e461656
Implementation
double getWindowProperty(WindowPropertyFlags flag) {
return cvRunArena<double>((arena) {
final result = arena<ffi.Double>();
cvRun(
() => chighgui.Window_GetProperty(
name.toNativeUtf8(allocator: arena).cast(),
flag.value,
result,
),
);
return result.value;
});
}