zng_layout::unit

Type Alias PxBox

source
pub type PxBox = Box2D<Px, Px>;
Expand description

A rectangle box in device pixels.

Aliased Type§

struct PxBox {
    pub min: Point2D<Px, Px>,
    pub max: Point2D<Px, Px>,
}

Fields§

§min: Point2D<Px, Px>§max: Point2D<Px, Px>