Skip to main content

point_on_rect_border

Function point_on_rect_border 

Source
fn point_on_rect_border(p: Pos2, rect: Rect, width: f32) -> (bool, Rect)
Expand description

Creates an outer and inner rectangle, used to identify whether the annotation was clicked on.