Function elmesque::element::cropped_image [−] [src]

pub fn cropped_image(x: i32, y: i32, w: i32, h: i32, path: PathBuf) -> Element

Create a cropped image. Take a rectangle out of the picture starting at the given top left coordinate.