zng::layout

Type Alias PxVector

source
pub type PxVector = Vector2D<Px, Px>;
Expand description

A vector in device pixels.

Aliased Type§

struct PxVector {
    pub x: Px,
    pub y: Px,
}

Fields§

§x: Px

The x (traditionally, horizontal) coordinate.

§y: Px

The y (traditionally, vertical) coordinate.