OpenCvSharp.Blob.CvBlobLib.RenderContourPolygon C# (CSharp) Method

RenderContourPolygon() public static method

Draw a polygon.
public static RenderContourPolygon ( CvContourPolygon contour, Mat img ) : void
contour CvContourPolygon Polygon contour.
img Mat Image to draw on.
return void
        public static void RenderContourPolygon(CvContourPolygon contour, Mat img)
        {
            if (contour == null)
                throw new ArgumentNullException(nameof(contour));
            contour.Render(img);
        }

Same methods

CvBlobLib::RenderContourPolygon ( CvContourPolygon contour, Mat img, Scalar color ) : void