Skip to main content

bottom

Function bottom 

Source
pub fn bottom(r: Rect) -> f32
Expand description

The rectangle’s bottom edge.

use pdfrum_doc::geom;

assert_eq!(geom::bottom(geom::rect(4.0, 1.0, 10.0, 8.0)), 1.0);