#[repr(C)]pub struct Circle {
    pub center: Point,
    pub radius: i32,
    pub color: Scalar,
    pub thick: i32,
    pub lt: i32,
    pub shift: i32,
}Expand description
This structure represents a circle to draw.
Parameters match cv::circle().
Fields§
§center: PointThe center of the circle
radius: i32The radius of the circle
color: ScalarThe color of the circle
thick: i32The thickness of the circle outline, if positive. Negative values, like #FILLED, mean that a filled circle is to be drawn
lt: i32The Type of the circle boundary. See #LineTypes
shift: i32The Number of fractional bits in the coordinates of the center and in the radius value
Implementations§
source§impl Circle
 
impl Circle
sourcepub fn new(
    center_: Point,
    radius_: i32,
    color_: Scalar,
    thick_: i32,
    lt_: i32,
    shift_: i32
) -> Result<Circle>
 
pub fn new(
    center_: Point,
    radius_: i32,
    color_: Scalar,
    thick_: i32,
    lt_: i32,
    shift_: i32
) -> Result<Circle>
Circle constructor
Parameters
- center_: The center of the circle
- radius_: The radius of the circle
- color_: The color of the circle
- thick_: The thickness of the circle outline, if positive. Negative values, like #FILLED, mean that a filled circle is to be drawn
- lt_: The Type of the circle boundary. See #LineTypes
- shift_: The Number of fractional bits in the coordinates of the center and in the radius value
C++ default parameters
- thick_: 1
- lt_: 8
- shift_: 0