Skip to main content

stroked_rect_coverage

Function stroked_rect_coverage 

Source
pub fn stroked_rect_coverage(
    point: Point,
    rect: Rect,
    radii: Option<CornerRadii>,
    half_width: f32,
    join: StrokeJoin,
) -> f32
Expand description

Coverage of point by a stroked rect/round-rect whose (already inflated) bounds are rect.