Skip to main content

get_selection_bounds

Function get_selection_bounds 

Source
pub fn get_selection_bounds(selection: &Selection) -> (u16, i32, u16, i32)
Expand description

Get the bounding box of a selection

Returns (min_x, min_y, max_x, max_y) representing the rectangular bounds