Skip to main content

point_in_rect

Function point_in_rect 

Source
pub fn point_in_rect((x, y): Point, rect: Rect) -> bool
Expand description

pointInRect: whether the point is inside the rectangle or on its edge.