Function opencv::core::rectangle_points
[−]
[src]
pub fn rectangle_points(img: &Mat, pt1: Point, pt2: Point, color: Scalar, thickness: i32, lineType: i32, shift: i32) -> Result<(), String>
draws the rectangle outline or a solid rectangle with the opposite corners pt1 and pt2 in the image
default value for arguments: - thickness: default 1 - lineType: default 8 - shift: default 0