Function opencv::core::rectangle [] [src]

pub fn rectangle(img: &Mat, rec: Rect, color: Scalar, thickness: i32, lineType: i32, shift: i32) -> Result<(), String>

draws the rectangle outline or a solid rectangle covering rec in the image

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