Skip to main content

point_inside

Function point_inside 

Source
pub fn point_inside(target: &DisplayTarget, x: i32, y: i32) -> bool
Expand description

True when the virtual-desktop point is inside the monitor.

The right and bottom edges are exclusive, so (x + width, y) belongs to the next monitor and not to this one.