maxPos property

set maxPos (int pos)

SetMax sets the trackbar maximum position.

For further details, please see: https://docs.opencv.org/master/d7/dfc/group__highgui.html#ga7e5437ccba37f1154b65210902fc4480

Implementation

// ignore: avoid_setters_without_getters
set maxPos(int pos) {
  cvRunArena((arena) {
    cvRun(
      () => chighgui.Trackbar_SetMax(
        parent.name.toNativeUtf8(allocator: arena).cast(),
        name.toNativeUtf8(allocator: arena).cast(),
        pos,
      ),
    );
  });
}