Table of Contents

Constructor Animation

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Animation(int, Scalar?)

Constructs an Animation object with optional loop count and background color.

public Animation(int loopCount = 0, Scalar? bgColor = null)

Parameters

loopCount int

The number of times the animation should loop. 0 (default) indicates infinite looping. Negative values or values beyond 0xffff (65535) are reset to 0.

bgColor Scalar?

Background color of the animation in BGR(A) format. Defaults to an empty color.