Function opencv::core::line [] [src]

pub fn line(img: &Mat, pt1: Point, pt2: Point, color: Scalar, thickness: i32, lineType: i32, shift: i32) -> Result<(), String>

draws the line segment (pt1, pt2) in the image

default value for arguments: - thickness: default 1 - lineType: default 8 - shift: default 0