[−][src]Function opencv::imgproc::polylines
pub fn polylines(
img: &mut dyn ToInputOutputArray,
pts: &dyn ToInputArray,
is_closed: bool,
color: Scalar,
thickness: i32,
line_type: i32,
shift: i32
) -> Result<()>
Draws several polygonal curves.
Parameters
- img: Image.
- pts: Array of polygonal curves.
- isClosed: Flag indicating whether the drawn polylines are closed or not. If they are closed, the function draws a line from the last vertex of each curve to its first vertex.
- color: Polyline color.
- thickness: Thickness of the polyline edges.
- lineType: Type of the line segments. See #LineTypes
- shift: Number of fractional bits in the vertex coordinates.
The function cv::polylines draws one or more polygonal curves.
C++ default parameters
- thickness: 1
- line_type: LINE_8
- shift: 0