hit_test_path

Function hit_test_path 

Source
pub fn hit_test_path<Iter>(
    point: &Point,
    path: Iter,
    fill_rule: FillRule,
    tolerance: f32,
) -> bool
where Iter: IntoIterator<Item = PathEvent>,
Expand description

Returns whether the point is inside the path.