pub type PixelsVector2D = Vector2D<f64, Pixels>;
Expand description
A 2D vector expressed in Pixels
Aliased Type§
struct PixelsVector2D {
pub x: f64,
pub y: f64,
}
Fields§
§x: f64
The x
(traditionally, horizontal) coordinate.
y: f64
The y
(traditionally, vertical) coordinate.