ImageEn, unit ievision

TIEVisionDrawing.drawContours

TIEVisionDrawing.drawContours


Declaration

procedure drawContours(image: TIEVisionImage; contours: TIEVisionVectorObjRef; const color: TIEVisionScalar; contourIdx: int32_t = -1; thickness: int32_t = 1; linetype: int32_t = 8); safecall;


Description

Draw a contour.

Parameter Description
image Destination image
contours A vector (list) of a vector of points, i.e. a 2D point array. (TIEVisionVectorObjRef must contain TIEVisionVectorPoint objects)
color Rectangle color
thickness Line width
linetype Line type
shift Thickness of lines that make up the rectangle. Negative values mean that the function has to draw a filled polygon