Function vector
pub fn vector<S>(x: S, y: S) -> Vector2D<S, UnknownUnit>Available on crate feature
canvas only.Expand description
Shorthand for Vector::new(x, y).
pub fn vector<S>(x: S, y: S) -> Vector2D<S, UnknownUnit>canvas only.Shorthand for Vector::new(x, y).